diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 2348052d..c0f8661b 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -1,4 +1,4 @@ -add_library(CommonFiles +add_library(CommonFiles STATIC CmdArgs.cpp dirlist.cpp eyecandy.cpp diff --git a/src/common_netplay/CMakeLists.txt b/src/common_netplay/CMakeLists.txt index d946987c..a4df77b8 100644 --- a/src/common_netplay/CMakeLists.txt +++ b/src/common_netplay/CMakeLists.txt @@ -1,5 +1,5 @@ if(NOT NO_NETWORK) - add_library(NetplayFiles platform_enet/NetPeerENet.cpp) + add_library(NetplayFiles STATIC platform_enet/NetPeerENet.cpp) target_link_libraries(NetplayFiles enet) if (WIN32) # WinSock2 libs, required by ENet on Windows