mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 22:16:41 +00:00
fix: Add IfcGeom as a dependency of kernels target instead of the inverse
This commit is contained in:
committed by
Thomas Krijnen
parent
a609bc61b9
commit
128fdcb62e
@@ -31,12 +31,16 @@ find_package(Eigen3 REQUIRED)
|
||||
|
||||
target_link_libraries(
|
||||
IfcGeom
|
||||
${kernel_libraries}
|
||||
${mapping_libraries}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
"Eigen3::Eigen"
|
||||
${CGAL_LIBRARIES}
|
||||
)
|
||||
|
||||
if(WITH_OPENCASCADE)
|
||||
target_link_libraries(IfcGeom TKernel)
|
||||
endif()
|
||||
|
||||
if(NOT WASM_BUILD)
|
||||
target_link_libraries(IfcGeom IfcParse)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user