mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
5ad0fd26c1
* [mygui] Fix feature tools build failed on macOS * update version
17 lines
646 B
Diff
17 lines
646 B
Diff
diff --git a/CMake/Utils/MyGUIConfigTargets.cmake b/CMake/Utils/MyGUIConfigTargets.cmake
|
|
index 6483339..0b35148 100644
|
|
--- a/CMake/Utils/MyGUIConfigTargets.cmake
|
|
+++ b/CMake/Utils/MyGUIConfigTargets.cmake
|
|
@@ -170,6 +170,11 @@ function(mygui_app PROJECTNAME SOLUTIONFOLDER)
|
|
set(MYGUI_EXEC_TYPE WIN32)
|
|
endif ()
|
|
add_executable(${PROJECTNAME} ${MYGUI_EXEC_TYPE} ${HEADER_FILES} ${SOURCE_FILES})
|
|
+ if (APPLE)
|
|
+ install(TARGETS ${PROJECTNAME} BUNDLE DESTINATION bin)
|
|
+ else ()
|
|
+ install(TARGETS ${PROJECTNAME} RUNTIME DESTINATION bin)
|
|
+ endif ()
|
|
endif ()
|
|
set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER})
|
|
|