From b1fba68c0f8fc87526c0be7d838f9483452f8920 Mon Sep 17 00:00:00 2001 From: Kazem Date: Sun, 15 Jan 2023 22:51:50 -0500 Subject: [PATCH] added a missing --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8313307..2687d87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ else() endif() if(UNIX ) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -fPIC") endif() set_property(GLOBAL PROPERTY USE_FOLDERS ON)