diff --git a/integration/non_event_data/CMakeLists.txt b/integration/non_event_data/CMakeLists.txt index a823e90552d4ad6a1c69c4bd5c09389541128d1a..0d50eb144e58e24fda5d1ccbd7f5dc3cfbc8815e 100644 --- a/integration/non_event_data/CMakeLists.txt +++ b/integration/non_event_data/CMakeLists.txt @@ -17,6 +17,11 @@ target_link_libraries(NonEventData PRIVATE UT nlohmann_json::nlohmann_json) -target_include_directories(NonEventData PUBLIC -$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>) -target_link_libraries(NonEventData PUBLIC BinaryDumpers) \ No newline at end of file +target_include_directories(NonEventData PUBLIC + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>) +if (STANDALONE) +target_include_directories(NonEventData PUBLIC + $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/Dumpers/BinaryDumpers/include>) +else() + target_link_libraries(NonEventData PUBLIC BinaryDumpers) +endif()