aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5388b1f..981c2b6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,11 +16,11 @@ endforeach(FILE ${HEADER_FILES})
# Compile cgeditor
include_directories(src)
file(GLOB_RECURSE SRC_CPP_FILES src/*.cpp)
-add_library(cgeditor SHARED ${SRC_CPP_FILES})
+add_library(cgeditor STATIC ${SRC_CPP_FILES})
# ChessMoveInterface
add_subdirectory(libs/chess-move-interface)
-include_directories(${CMI_INCLUDE_DIR})
+target_link_libraries(cgeditor PRIVATE ChessMoveInterface)
# Examples
set(COMPILE_EXAMPLES FALSE CACHE BOOL "Compiling included examples")