CMakeLists.txt 396 B

123456789101112131415161718192021222324
  1. add_library(morphing SHARED
  2. morphing.cpp
  3. )
  4. target_link_libraries(morphing geom_helpers)
  5. install(
  6. TARGETS morphing
  7. EXPORT morphing
  8. LIBRARY DESTINATION lib
  9. ARCHIVE DESTINATION lib
  10. )
  11. export(
  12. EXPORT morphing
  13. FILE "${CMAKE_CURRENT_BINARY_DIR}/morphing-config.cmake"
  14. )
  15. install(
  16. EXPORT morphing
  17. FILE "morphing-config.cmake"
  18. DESTINATION "lib/cmake/morphing"
  19. )