diff --git a/CMakeLists.txt b/CMakeLists.txt index 6979572..89d085f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ add_library(${PROJECT_NAME} SHARED target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC ${Boost_INCLUDE_DIRS} PRIVATE ${HIREDIS_INCLUDE_DIRS} - PUBLIC ${CMAKE_SOURCE_DIR}/lib/better-enums + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/lib/better-enums PRIVATE ${LIBEV_INCLUDE_DIRS} PRIVATE ${Boost_INCLUDE_DIRS} )