vcpkg/ports/levmar/add-install.patch
Alberto Jaspe ea82e46508
[levmar] Add new port (#13164)
Co-authored-by: LilyWangL <wangli28@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-09-01 01:36:35 -07:00

12 lines
320 B
Diff

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/")