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:
parent
c5171eb673
commit
caa1fd301e
@ -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 )
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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 )
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user