Allow /bin install directory to be overriden. Debian for example uses this to install FlightGear to /usr/games/ instead of /usr/bin/ https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
11 lines
276 B
CMake
11 lines
276 B
CMake
add_executable(fgelev fgelev.cxx)
|
|
|
|
target_link_libraries(fgelev
|
|
${SIMGEAR_LIBRARIES}
|
|
${OPENSCENEGRAPH_LIBRARIES}
|
|
${OPENGL_LIBRARIES}
|
|
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
|
${ZLIB_LIBRARY}
|
|
)
|
|
|
|
install(TARGETS fgelev RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|