From ee0767e52c73402f7832bf84b2f00b36aae62c2d Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Fri, 31 Mar 2017 23:16:14 +0100 Subject: [PATCH] Fix build as submodule --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} )