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})