Displaying 1 result from an estimated 1 matches for "sanitizer_min_osx_version".
2014 Feb 12
2
[LLVMdev] cmake/ninja build failing
...his way is the correct solution, or if maybe the CMakeLists.txt files just needs to properly quote these strings.
Here's my shortened version of that whole `if(APPLE)` block:
> if(APPLE)
> set(SANITIZER_COMMON_SUPPORTED_DARWIN_OS osx)
>
> if(COMPILER_RT_USES_LIBCXX)
> set(SANITIZER_MIN_OSX_VERSION 10.7)
> else()
> set(SANITIZER_MIN_OSX_VERSION 10.6)
> endif()
> set(DARWIN_osx_CFLAGS -mmacosx-version-min=${SANITIZER_MIN_OSX_VERSION})
> set(DARWIN_osx_LINKFLAGS)
> endif()
So, can anyone who's familiar with CMakeLists.txt comment on the correct way to fix CMakeLis...