mirror of https://github.com/libAthena/athena.git
Update macOS atdna header includes for 10.13 SDK
This commit is contained in:
parent
38985326f3
commit
896de3833c
|
@ -188,15 +188,16 @@ macro(atdna out)
|
||||||
list(APPEND extraargs -fms-compatibility-version=19.00)
|
list(APPEND extraargs -fms-compatibility-version=19.00)
|
||||||
elseif(MSVC_VERSION EQUAL 1910)
|
elseif(MSVC_VERSION EQUAL 1910)
|
||||||
list(APPEND extraargs -fms-compatibility-version=19.10)
|
list(APPEND extraargs -fms-compatibility-version=19.10)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# OSX Extra
|
# OSX Extra
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
if (NOT EXISTS "${CMAKE_OSX_SYSROOT}")
|
if (NOT EXISTS "${CMAKE_OSX_SYSROOT}")
|
||||||
message(FATAL_ERROR "CMAKE_OSX_SYSROOT not set")
|
message(FATAL_ERROR "CMAKE_OSX_SYSROOT not set")
|
||||||
endif()
|
endif()
|
||||||
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -I ${CMAKE_OSX_SYSROOT}/usr/include -isysroot
|
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -isysroot ${CMAKE_OSX_SYSROOT}/usr/include
|
||||||
${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain)
|
-I ${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain
|
||||||
|
-I ${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Make target
|
# Make target
|
||||||
|
|
|
@ -47,12 +47,18 @@ macro(atdna out)
|
||||||
list(APPEND extraargs -fms-compatibility-version=18.00)
|
list(APPEND extraargs -fms-compatibility-version=18.00)
|
||||||
elseif(MSVC_VERSION EQUAL 1900)
|
elseif(MSVC_VERSION EQUAL 1900)
|
||||||
list(APPEND extraargs -fms-compatibility-version=19.00)
|
list(APPEND extraargs -fms-compatibility-version=19.00)
|
||||||
endif()
|
elseif(MSVC_VERSION EQUAL 1910)
|
||||||
|
list(APPEND extraargs -fms-compatibility-version=19.10)
|
||||||
|
endif()
|
||||||
|
|
||||||
# OSX Extra
|
# OSX Extra
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -isysroot
|
if (NOT EXISTS "${CMAKE_OSX_SYSROOT}")
|
||||||
${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain)
|
message(FATAL_ERROR "CMAKE_OSX_SYSROOT not set")
|
||||||
|
endif()
|
||||||
|
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -isysroot ${CMAKE_OSX_SYSROOT}/usr/include
|
||||||
|
-I ${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain
|
||||||
|
-I ${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Make target
|
# Make target
|
||||||
|
|
Loading…
Reference in New Issue