CMake: Cleanup targets with transitive dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user