"Unsupported macOS version: macosx11.0" when trying to configure. #163
Labels
build-system
Issue related with CMake or compilers
documentation
Improvements or additions to documentation
enhancement
New feature or request
Hi Franciso
I had to make the following hacky fixes in my local fork of nappgui in order to get the cmake config to succeed in my project:
colugomusic@684606f
Note that in my project I am setting
CMAKE_OSX_SYSROOT
tomacosx11.0
andCMAKE_OSX_DEPLOYMENT_TARGET
to11.0
since I want to support some older versions of macOS.The nappgui cmake scripts incorrectly assume that the value of
CMAKE_OSX_SYSROOT
will be a version number without any prefix string. At least on my system this is not the case (perhaps this is something that changed with newer versions of macOS.)So I just added the calls to
string(REPLACE ...)
to strip out this prefix before the comparisons.The text was updated successfully, but these errors were encountered: