CMake: Cleanup targets with transitive dependencies

This commit is contained in:
tritao
2025-03-17 12:12:06 +00:00
parent 9a77120e82
commit cdab9c7837
69 changed files with 75 additions and 746 deletions

View File

@@ -1,17 +1,9 @@
target_include_directories(Assembly_tests_run SYSTEM PUBLIC
${EIGEN3_INCLUDE_DIR}
${OCC_INCLUDE_DIR}
${PYCXX_INCLUDE_DIR}
${Python3_INCLUDE_DIRS}
${XercesC_INCLUDE_DIRS}
)
if (NOT FREECAD_USE_EXTERNAL_ONDSELSOLVER)
target_include_directories(Assembly_tests_run PUBLIC
${CMAKE_SOURCE_DIR}/src/3rdParty/OndselSolver
)
endif ()
target_link_directories(Assembly_tests_run PUBLIC ${OCC_LIBRARY_DIR})
target_link_libraries(Assembly_tests_run
gtest_main