Merge commit '587dd924142c959b812ca340eab52af35ac4096c' as 'deps/nostalgia'
This commit is contained in:
21
deps/nostalgia/src/nostalgia/tools/CMakeLists.txt
vendored
Normal file
21
deps/nostalgia/src/nostalgia/tools/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
add_executable(nostalgia-pack)
|
||||
|
||||
target_link_libraries(
|
||||
nostalgia-pack
|
||||
KeelPack-AppLib
|
||||
NostalgiaKeelModules
|
||||
NostalgiaProfile
|
||||
OlympicApplib
|
||||
)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32)
|
||||
# enable LTO
|
||||
set_property(TARGET nostalgia-pack PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
nostalgia-pack
|
||||
RUNTIME DESTINATION
|
||||
bin
|
||||
)
|
Reference in New Issue
Block a user