vcpkg/ports/lionkor-commandline/add-install.patch
Leonid Pospelov 6936bb6eed
[lionkor-commandline] Update to 2.2.0 (#31184)
* [lionkor-commandline] Update to 2.2.0

* ver
2023-05-01 15:14:13 -07:00

11 lines
483 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b04634b..ba08ef4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,3 +44,5 @@ if(BUILD_EXAMPLES)
set_property(DIRECTORY ${CMAKE_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT commandline_test)
endif()
+set_target_properties(commandline PROPERTIES PUBLIC_HEADER "commandline.h")
+install(TARGETS commandline RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib PUBLIC_HEADER DESTINATION include)