aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanyil Somin <danyil.somin@gmail.com>2023-02-11 10:24:46 +0200
committerLoic Guegan <40263184+manzerbredes@users.noreply.github.com>2023-02-11 10:48:18 +0100
commit454e6949dc659dd15f47dbc8311c95e2894c4636 (patch)
tree896968c58fae5f2a53661063be2694949f5de868
parentfb3828999edcf8a1b5b3945b5c23f2c1d8d567fb (diff)
Changed ChessMoveInterface lib visibility to PUBLIC
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6696286..66b0f1c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ include_directories(${PGNP_INCLUDE_DIR})
# ChessMoveInterface
add_subdirectory(libs/chess-move-interface)
include_directories(${CMI_INCLUDE_DIR})
-target_link_libraries(pgnp PRIVATE ChessMoveInterface)
+target_link_libraries(pgnp PUBLIC ChessMoveInterface)
# Add include directiries to target to be independent of ${PGNP_INCLUDE_DIR} and ${CMI_INCLUDE_DIR}
target_include_directories(pgnp PUBLIC ${CMI_INCLUDE_DIR})