Enable static linking only on Windows

This commit is contained in:
Cacodemon345
2021-08-30 00:00:27 +06:00
parent a56fa559e1
commit 7fe4c63cb3

View File

@@ -70,7 +70,7 @@ if(ARCH STREQUAL "i386")
endif()
endif()
if(NOT MSVC)
if(NOT MSVC AND NOT UNIX AND NOT APPLE)
target_link_options(86Box PRIVATE "-static")
endif()