Changed ChessMoveInterface lib visibility to PUBLIC

This commit is contained in:
Danyil Somin 2023-02-11 10:24:46 +02:00 committed by Loic Guegan
parent fb3828999e
commit 454e6949dc

View file

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