aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
m---------libs/chess-move-interface0
2 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")
diff --git a/libs/chess-move-interface b/libs/chess-move-interface
-Subproject 7125292878ffc3568018e1e509c9210a074c67a
+Subproject 0e154098a5048165da6f0623c946bd9a4b3e574