25928bf614
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
10 lines
260 B
CMake
10 lines
260 B
CMake
add_executable(stgmerge stgmerge.cxx)
|
|
|
|
target_link_libraries(stgmerge
|
|
${SIMGEAR_LIBRARIES}
|
|
${OPENSCENEGRAPH_LIBRARIES}
|
|
${OPENGL_LIBRARIES}
|
|
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
|
)
|
|
|
|
install(TARGETS stgmerge RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|