[hello_imgui] Fix target variables (#37373)

This commit is contained in:
Kai Pastor 2024-03-11 21:02:27 +01:00 committed by GitHub
parent 3b95ab27a0
commit 377ccc2a4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 3 deletions

View File

@ -34,7 +34,7 @@ endif()
set(platform_options "")
if(WIN32)
if(VCPKG_TARGET_IS_WINDOWS)
# Standard win32 options (these are the defaults for HelloImGui)
# we could add a vcpkg feature for this, but it would have to be platform specific
list(APPEND platform_options
@ -43,7 +43,7 @@ if(WIN32)
)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
# Standard macOS options (these are the defaults for HelloImGui)
# we could add a vcpkg feature for this, but it would have to be platform specific
list(APPEND platform_options

View File

@ -1,6 +1,7 @@
{
"name": "hello-imgui",
"version": "1.4.2",
"port-version": 1,
"description": "Hello ImGui: unleash your creativity in app development and prototyping",
"homepage": "https://pthom.github.io/hello_imgui/",
"license": "MIT",

View File

@ -3350,7 +3350,7 @@
},
"hello-imgui": {
"baseline": "1.4.2",
"port-version": 0
"port-version": 1
},
"hexl": {
"baseline": "1.2.5",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e42f8dcf24a3ffee1376bd840df8d2774784c7b4",
"version": "1.4.2",
"port-version": 1
},
{
"git-tree": "5ecf61526918746249b229e66d820f4da98e0c5a",
"version": "1.4.2",