1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

CMake patch from Andrew Belitsky: Improved Linux handling.

This commit is contained in:
Nicolay Korslund 2010-03-01 14:39:38 +01:00
parent 320fb3f8b8
commit ef871c813b

View file

@ -9,9 +9,10 @@ set(MANGLE_VFS mangle/vfs/servers/ogre_vfs.cpp)
set(GAME game/main.cpp) set(GAME game/main.cpp)
# Dependencies # Dependencies
# Not exactly platform independent, FIXME! find_package(PkgConfig REQUIRED)
add_definitions(-I/usr/local/include/OGRE) pkg_check_modules(OGRE REQUIRED OGRE)
include_directories(${OGRE_INCLUDE_DIRS})
# Main executable # Main executable
add_executable(openmw ${BSA} ${TOOLS} ${GAME}) add_executable(openmw ${BSA} ${TOOLS} ${GAME})
target_link_libraries(openmw OgreMain) target_link_libraries(openmw ${OGRE_LIBRARIES})