We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dd1008 commit c03fc68Copy full SHA for c03fc68
src/CMakeLists.txt
@@ -457,7 +457,11 @@ endif()
457
458
#=================== Linking ===================
459
460
-target_link_libraries(libultraship PUBLIC "$<LINK_LIBRARY:WHOLE_ARCHIVE,storm>")
+if (NOT CMAKE_SYSTEM_NAME STREQUAL "CafeOS" AND NOT CMAKE_SYSTEM_NAME STREQUAL "NintendoSwitch")
461
+ target_link_libraries(libultraship PUBLIC "$<LINK_LIBRARY:WHOLE_ARCHIVE,storm>")
462
+else()
463
+ target_link_libraries(libultraship PUBLIC storm)
464
+endif()
465
target_link_libraries(libultraship
466
PRIVATE StrHash64
467
PUBLIC ZAPDUtils ImGui tinyxml2 nlohmann_json::nlohmann_json
0 commit comments