force creating static library for libnest2d

This commit is contained in:
tamasmeszaros 2020-01-09 17:12:40 +01:00
parent ee11e05cd6
commit c0b90f68ab

View File

@ -24,7 +24,7 @@ set(LIBNEST2D_SRCFILES
src/libnest2d.cpp src/libnest2d.cpp
) )
add_library(libnest2d ${LIBNEST2D_SRCFILES}) add_library(libnest2d STATIC ${LIBNEST2D_SRCFILES})
target_include_directories(libnest2d PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include) target_include_directories(libnest2d PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
target_link_libraries(libnest2d PUBLIC clipper NLopt::nlopt TBB::tbb Boost::boost) target_link_libraries(libnest2d PUBLIC clipper NLopt::nlopt TBB::tbb Boost::boost)