[nostalgia] Fix for Windows

This commit is contained in:
2022-12-17 13:37:37 -06:00
parent 4077f0bddc
commit d8153e71e1
5 changed files with 7 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ target_link_libraries(
NostalgiaPack
)
if (CMAKE_BUILD_TYPE STREQUAL "Release")
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32)
# enable LTO
set_property(TARGET nost-pack PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()