From eaf0eedee8e9cf1e6d90746fc0638ea9ede6881d Mon Sep 17 00:00:00 2001 From: Albin Johansson Date: Sat, 14 Oct 2023 15:14:10 +0200 Subject: [PATCH] Update CMakeLists.txt --- modules/tmj-format/CMakeLists.txt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/tmj-format/CMakeLists.txt b/modules/tmj-format/CMakeLists.txt index e738a16e87..cc11355173 100644 --- a/modules/tmj-format/CMakeLists.txt +++ b/modules/tmj-format/CMakeLists.txt @@ -5,7 +5,6 @@ set(TACTILE_TMJ_FORMAT_DIR "${TACTILE_ROOT_DIR}/modules/tmj-format") file(GLOB_RECURSE TACTILE_TMJ_FORMAT_SOURCE_FILES CONFIGURE_DEPENDS "${TACTILE_TMJ_FORMAT_DIR}/inc/**/*.hpp" - "${TACTILE_TMJ_FORMAT_DIR}/src/**/*.hpp" "${TACTILE_TMJ_FORMAT_DIR}/src/**/*.cpp" ) @@ -20,17 +19,12 @@ target_compile_definitions(${TACTILE_TMJ_FORMAT_TARGET} TACTILE_BUILDING_TMJ_PLUGIN ) -target_include_directories(${TACTILE_TMJ_FORMAT_TARGET} - PUBLIC - "${TACTILE_TMJ_FORMAT_DIR}/inc" - - PRIVATE - "${TACTILE_TMJ_FORMAT_DIR}/src" - ) +target_include_directories(${TACTILE_TMJ_FORMAT_TARGET} PUBLIC "${TACTILE_TMJ_FORMAT_DIR}/inc") target_link_libraries(${TACTILE_TMJ_FORMAT_TARGET} PUBLIC ${TACTILE_CORE_TARGET} + nlohmann_json::nlohmann_json ) if (TACTILE_BUILD_TESTS MATCHES ON)