1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +01:00

fix cmake source dir paths

This commit is contained in:
Daniel Evans 2014-02-28 07:24:20 +00:00
parent c5171eb673
commit caa1fd301e
5 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
add_executable(analyzer main.cpp)
include_directories(../rwengine/include)
include_directories(${CMAKE_SOURCE_DIR}/rwengine/include)
target_link_libraries( analyzer rwengine sfml-graphics )

View File

@ -1,5 +1,5 @@
add_executable(datadump main.cpp)
include_directories(../rwengine/include)
include_directories(${CMAKE_SOURCE_DIR}/rwengine/include)
target_link_libraries( datadump rwengine )
install(TARGETS datadump RUNTIME DESTINATION bin)

View File

@ -1,6 +1,6 @@
add_executable(rwgame main.cpp)
include_directories(../rwengine/include /usr/include/bullet)
include_directories("${CMAKE_SOURCE_DIR}/rwengine/include" /usr/include/bullet)
target_link_libraries( rwgame rwengine sfml-graphics sfml-window sfml-system GL GLEW BulletDynamics BulletCollision LinearMath )

View File

@ -12,7 +12,7 @@ add_executable(rwviewer
DFFFramesTreeModel.cpp
ModelFramesWidget.cpp)
include_directories(../rwengine/include /usr/include/bullet)
include_directories("${CMAKE_SOURCE_DIR}/rwengine/include" /usr/include/bullet)
target_link_libraries(rwviewer rwengine sfml-graphics sfml-system GL GLEW BulletDynamics BulletCollision LinearMath)
qt5_use_modules(rwviewer Widgets OpenGL)

View File

@ -7,7 +7,7 @@ include_directories(include)
find_package(Boost COMPONENTS unit_test_framework REQUIRED)
include_directories(../rwengine/include ../rwgame /usr/include/bullet)
include_directories("${CMAKE_SOURCE_DIR}/rwengine/include" "${CMAKE_SOURCE_DIR}/rwgame" /usr/include/bullet)
target_link_libraries(run_tests rwengine sfml-window sfml-system sfml-graphics GL GLEW BulletDynamics BulletCollision LinearMath ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})