build: fix inclusion of Jemalloc binary directory
@@ -516,7 +516,7 @@ if(FLB_JEMALLOC AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_library(libjemalloc STATIC IMPORTED GLOBAL)
set_target_properties(libjemalloc PROPERTIES IMPORTED_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/lib/libjemalloc_pic.a")
add_dependencies(libjemalloc jemalloc)
- include_directories("${CMAKE_CURRENT_BINARY_DIR}/include/")
+ include_directories("${CMAKE_BINARY_DIR}/include/")
else()
FLB_OPTION(FLB_JEMALLOC OFF)
endif()
