2022-06-17 06:23:28 +08:00
|
|
|
diff --git a/CMake/Utils/MyGUIConfigTargets.cmake b/CMake/Utils/MyGUIConfigTargets.cmake
|
2023-04-25 05:25:54 +08:00
|
|
|
index 6483339..0b35148 100644
|
2022-06-17 06:23:28 +08:00
|
|
|
--- a/CMake/Utils/MyGUIConfigTargets.cmake
|
|
|
|
+++ b/CMake/Utils/MyGUIConfigTargets.cmake
|
2023-04-25 05:25:54 +08:00
|
|
|
@@ -170,6 +170,11 @@ function(mygui_app PROJECTNAME SOLUTIONFOLDER)
|
2022-06-17 06:23:28 +08:00
|
|
|
set(MYGUI_EXEC_TYPE WIN32)
|
|
|
|
endif ()
|
|
|
|
add_executable(${PROJECTNAME} ${MYGUI_EXEC_TYPE} ${HEADER_FILES} ${SOURCE_FILES})
|
2023-04-25 05:25:54 +08:00
|
|
|
+ if (APPLE)
|
|
|
|
+ install(TARGETS ${PROJECTNAME} BUNDLE DESTINATION bin)
|
|
|
|
+ else ()
|
|
|
|
+ install(TARGETS ${PROJECTNAME} RUNTIME DESTINATION bin)
|
|
|
|
+ endif ()
|
2022-06-17 06:23:28 +08:00
|
|
|
endif ()
|
|
|
|
set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER})
|
|
|
|
|