svgfill dll link related

This commit is contained in:
Thomas Krijnen
2026-04-18 21:13:24 +02:00
parent fae85e63cc
commit ead061a98a
+3
View File
@@ -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)