mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-09 12:22:34 +01:00
4d228e40c7
Look for bullet using the FindBullet package
15 lines
357 B
CMake
15 lines
357 B
CMake
add_executable(rwgame
|
|
main.cpp
|
|
loadingstate.cpp
|
|
ingamestate.cpp
|
|
pausestate.cpp
|
|
menustate.cpp
|
|
debugstate.cpp
|
|
)
|
|
|
|
include_directories("${CMAKE_SOURCE_DIR}/rwengine/include" ${BULLET_INCLUDE_DIRS})
|
|
|
|
target_link_libraries( rwgame rwengine sfml-graphics sfml-window sfml-system GL GLEW ${BULLET_LIBRARIES} )
|
|
|
|
install(TARGETS rwgame RUNTIME DESTINATION bin)
|