From 454e6949dc659dd15f47dbc8311c95e2894c4636 Mon Sep 17 00:00:00 2001 From: Danyil Somin Date: Sat, 11 Feb 2023 10:24:46 +0200 Subject: [PATCH] Changed ChessMoveInterface lib visibility to PUBLIC --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})