Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-johansson committed Oct 14, 2023
1 parent 19ce5de commit eaf0eed
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions modules/tmj-format/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -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)
Expand Down

0 comments on commit eaf0eed

Please sign in to comment.