diff --git a/custom-ports/whispercpp-basic/portfile.cmake b/custom-ports/whispercpp-basic/portfile.cmake index 7ccb090..d0fc852 100644 --- a/custom-ports/whispercpp-basic/portfile.cmake +++ b/custom-ports/whispercpp-basic/portfile.cmake @@ -9,7 +9,7 @@ vcpkg_from_github( 0001-UpdateTargetName.patch ) -if(APPLE) +if(VCPKG_HOST_IS_OSX) vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} OPTIONS diff --git a/custom-ports/whispercpp/portfile.cmake b/custom-ports/whispercpp/portfile.cmake index 2d3f6eb..68b7ea4 100644 --- a/custom-ports/whispercpp/portfile.cmake +++ b/custom-ports/whispercpp/portfile.cmake @@ -7,7 +7,7 @@ vcpkg_from_github( HEAD_REF master ) -if(APPLE) +if(VCPKG_HOST_IS_OSX) vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} OPTIONS