mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
svgfill dll link related
This commit is contained in:
@@ -50,6 +50,9 @@ file(GLOB LIB_CPP_FILES src/svgfill.cpp src/arrange_polygons.cpp)
|
||||
set(LIB_SRC_FILES ${LIB_H_FILES} ${LIB_CPP_FILES})
|
||||
add_library(svgfill ${LIB_SRC_FILES})
|
||||
target_link_libraries(svgfill ${Boost_LIBRARIES} ${BCRYPT_LIBRARIES} LibXml2::LibXml2 IFCOPENSHELL_CGAL)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
target_compile_definitions(svgfill PUBLIC IFC_SHARED_BUILD)
|
||||
endif()
|
||||
set_target_properties(svgfill PROPERTIES PUBLIC_HEADER "${LIB_H_FILES}")
|
||||
|
||||
add_executable(svgfill_exe src/main.cpp)
|
||||
|
||||
Reference in New Issue
Block a user