diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-02 19:15:04 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-02 19:15:04 +0200 |
| commit | 84e52acd1ac9bc315e4f3cfdb0d7e711a43275ba (patch) | |
| tree | c9fbb5f0b7968e5da1ecc925beb86802d839bb20 | |
| parent | 83c92b1f48520ed71a9f056badc86c97aafa4e45 (diff) | |
Update chess-move-interface and improve CMake integration
| -rw-r--r-- | CMakeLists.txt | 4 | ||||
| m--------- | libs/chess-move-interface | 0 |
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 |
