From 182b9a50602c268470dcbf34c416b36e09867e24 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Wed, 18 Sep 2024 15:29:15 +0300 Subject: [PATCH] Compile static instead of shared. --- PowerSample/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerSample/CMakeLists.txt b/PowerSample/CMakeLists.txt index b85914d..3e9f567 100644 --- a/PowerSample/CMakeLists.txt +++ b/PowerSample/CMakeLists.txt @@ -6,7 +6,7 @@ set(CMAKE_C_COMPILER "clang-cl") add_compile_options("-march=x86-64-v3") file(GLOB RecompiledFiles *.cpp) -add_library(PowerSample SHARED ${RecompiledFiles}) +add_library(PowerSample ${RecompiledFiles}) target_precompile_headers(PowerSample PUBLIC "ppc_recomp_shared.h")