mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 20:39:13 +08:00
95641c83f5
* [commandline] Add new port * Fix formating * Fix deps * Update versions * Remove redudant build * Update commandline.json * Update portfile.cmake * Update commandline.json * Ban osx * Update commandline.json * Update ports/commandline/add-install.patch Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update ports/commandline/portfile.cmake Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Fixes * Update commandline.json * Rename commandline.json to lionkor-commandline.json * Update baseline.json * Update vcpkg.json * Rename ports/commandline/vcpkg.json to ports/lionkor-commandline/vcpkg.json * Rename ports/commandline/portfile.cmake to ports/lionkor-commandline/portfile.cmake * Rename ports/commandline/add-install.patch to ports/lionkor-commandline/add-install.patch * Update baseline.json * version Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
11 lines
433 B
Diff
11 lines
433 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b4db57c..7ace55c 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -22,3 +22,5 @@ if(BUILD_EXAMPLES)
|
|
target_link_libraries(test commandline)
|
|
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)
|