pineapple/externals/vcpkg/ports/levmar/add-install.patch

12 lines
320 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cc6789f..d2757f9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -95,3 +95,6 @@ IF(BUILD_DEMO)
ENDIF(BUILD_DEMO)
#SUBDIRS(matlab)
+
+install(TARGETS levmar LIBRARY DESTINATION "lib/")
+install(FILES "${CMAKE_SOURCE_DIR}/levmar.h" DESTINATION "include/levmar/")