diff --git a/ports/hello-imgui/portfile.cmake b/ports/hello-imgui/portfile.cmake index 212e28988e..6ff6eca1b3 100644 --- a/ports/hello-imgui/portfile.cmake +++ b/ports/hello-imgui/portfile.cmake @@ -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 diff --git a/ports/hello-imgui/vcpkg.json b/ports/hello-imgui/vcpkg.json index 9335896aef..ae82bdb612 100644 --- a/ports/hello-imgui/vcpkg.json +++ b/ports/hello-imgui/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index 5779cfb961..ce08c81dca 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3350,7 +3350,7 @@ }, "hello-imgui": { "baseline": "1.4.2", - "port-version": 0 + "port-version": 1 }, "hexl": { "baseline": "1.2.5", diff --git a/versions/h-/hello-imgui.json b/versions/h-/hello-imgui.json index 3f7cec4288..4f2c1c562b 100644 --- a/versions/h-/hello-imgui.json +++ b/versions/h-/hello-imgui.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e42f8dcf24a3ffee1376bd840df8d2774784c7b4", + "version": "1.4.2", + "port-version": 1 + }, { "git-tree": "5ecf61526918746249b229e66d820f4da98e0c5a", "version": "1.4.2",