mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Use CMake installation directory
This removes the use of the DESTINATION parameter from install() command and instead rely on default values. The shared build action file was modified to package installed files in a single folder
This commit is contained in:
parent
864cdf1fc6
commit
120a486aea
5 changed files with 36 additions and 33 deletions
|
@ -18,7 +18,7 @@ function (create_launcher name type)
|
|||
target_compile_features(openmohaa_launcher_${name} PRIVATE cxx_std_17)
|
||||
set_target_properties(openmohaa_launcher_${name} PROPERTIES OUTPUT_NAME "launch_openmohaa_${name}${TARGET_BIN_SUFFIX}")
|
||||
|
||||
INSTALL(TARGETS openmohaa_launcher_${name} DESTINATION "./")
|
||||
INSTALL(TARGETS openmohaa_launcher_${name})
|
||||
|
||||
#add_executable(omohaaded_launcher_${name} ${LAUNCHER_SOURCES})
|
||||
#target_include_directories(omohaaded_launcher_${name} PUBLIC "../qcommon")
|
||||
|
@ -26,7 +26,7 @@ function (create_launcher name type)
|
|||
#target_compile_features(omohaaded_launcher_${name} PRIVATE cxx_std_17)
|
||||
#set_target_properties(omohaaded_launcher_${name} PROPERTIES OUTPUT_NAME "launch_omohaaded_${name}${TARGET_BIN_SUFFIX}")
|
||||
#
|
||||
#INSTALL(TARGETS omohaaded_launcher_${name} DESTINATION "./")
|
||||
#INSTALL(TARGETS omohaaded_launcher_${name})
|
||||
endfunction()
|
||||
|
||||
create_launcher(base 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue