[mygui] Fix feature tools build failed on macOS (#31082)

* [mygui] Fix feature tools build failed on macOS

* update version
This commit is contained in:
Lily Wang 2023-04-25 05:25:54 +08:00 committed by GitHub
parent b3e0a1e625
commit 5ad0fd26c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 7 deletions

View File

@ -1,14 +1,16 @@
diff --git a/CMake/Utils/MyGUIConfigTargets.cmake b/CMake/Utils/MyGUIConfigTargets.cmake
index 6483339..71710de 100644
index 6483339..0b35148 100644
--- a/CMake/Utils/MyGUIConfigTargets.cmake
+++ b/CMake/Utils/MyGUIConfigTargets.cmake
@@ -170,6 +170,9 @@ function(mygui_app PROJECTNAME SOLUTIONFOLDER)
@@ -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})
+ install(TARGETS ${PROJECTNAME}
+ RUNTIME DESTINATION bin
+ )
+ if (APPLE)
+ install(TARGETS ${PROJECTNAME} BUNDLE DESTINATION bin)
+ else ()
+ install(TARGETS ${PROJECTNAME} RUNTIME DESTINATION bin)
+ endif ()
endif ()
set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER})

View File

@ -1,7 +1,7 @@
{
"name": "mygui",
"version": "3.4.1",
"port-version": 4,
"port-version": 5,
"description": "Fast, flexible and simple GUI",
"homepage": "http://mygui.info",
"license": "MIT",

View File

@ -5390,7 +5390,7 @@
},
"mygui": {
"baseline": "3.4.1",
"port-version": 4
"port-version": 5
},
"mysql-connector-cpp": {
"baseline": "8.0.30",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4b68ea2f9e7d24c34d86ea4d45050adc7ac29663",
"version": "3.4.1",
"port-version": 5
},
{
"git-tree": "006d47cf87a29b68cbf5f7d1fbbc7e12a38e3cb7",
"version": "3.4.1",