Skip to content

Commit c03fc68

Browse files
committed
ports...
1 parent 5dd1008 commit c03fc68

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/CMakeLists.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,11 @@ endif()
457457

458458
#=================== Linking ===================
459459

460-
target_link_libraries(libultraship PUBLIC "$<LINK_LIBRARY:WHOLE_ARCHIVE,storm>")
460+
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()
461465
target_link_libraries(libultraship
462466
PRIVATE StrHash64
463467
PUBLIC ZAPDUtils ImGui tinyxml2 nlohmann_json::nlohmann_json

0 commit comments

Comments
 (0)