diff --git a/src/slic3r-arrange-wrapper/CMakeLists.txt b/src/slic3r-arrange-wrapper/CMakeLists.txt index 3f723e5aed..3f59e9c9a2 100644 --- a/src/slic3r-arrange-wrapper/CMakeLists.txt +++ b/src/slic3r-arrange-wrapper/CMakeLists.txt @@ -33,3 +33,9 @@ add_library(slic3r-arrange-wrapper target_include_directories(slic3r-arrange-wrapper PRIVATE src) target_include_directories(slic3r-arrange-wrapper PUBLIC include) target_link_libraries(slic3r-arrange-wrapper PUBLIC slic3r-arrange) + +if (WIN32) + install(TARGETS slic3r-arrange-wrapper LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}) +else() + install(TARGETS slic3r-arrange-wrapper LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) +endif()