From af198a2d3a073c6013a5cc813c2a2f5aee5961c3 Mon Sep 17 00:00:00 2001 From: CocoSimone Date: Mon, 17 Oct 2022 22:57:29 +0200 Subject: [PATCH] Static linking --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1603ff62..91f7ae11 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -44,7 +44,7 @@ if(WIN32) target_compile_options(natsukashii PRIVATE -mwindows) set(LIBRARIES -static z stdc++ user32 gdi32 winmm Imm32 ole32 oleaut32 shell32 setupapi version uuid) else() - set(LIBRARIES ) + set(LIBRARIES -static) endif() if(${CMAKE_BUILD_TYPE} MATCHES Release)