mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
842c72898a
* [mygui] Add feature tools * x-add-version * Test tools on CI * overwrite-version * Add the part of install tools to source's cmakefile * x-add-version --overwrite-version Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
15 lines
563 B
Diff
15 lines
563 B
Diff
diff --git a/CMake/Utils/MyGUIConfigTargets.cmake b/CMake/Utils/MyGUIConfigTargets.cmake
|
|
index 6483339..71710de 100644
|
|
--- a/CMake/Utils/MyGUIConfigTargets.cmake
|
|
+++ b/CMake/Utils/MyGUIConfigTargets.cmake
|
|
@@ -170,6 +170,9 @@ function(mygui_app PROJECTNAME SOLUTIONFOLDER)
|
|
set(MYGUI_EXEC_TYPE WIN32)
|
|
endif ()
|
|
add_executable(${PROJECTNAME} ${MYGUI_EXEC_TYPE} ${HEADER_FILES} ${SOURCE_FILES})
|
|
+ install(TARGETS ${PROJECTNAME}
|
|
+ RUNTIME DESTINATION bin
|
|
+ )
|
|
endif ()
|
|
set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER})
|
|
|