mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-29 23:26:00 +00:00
Changed: Only compile with libc++ in C++
--HG-- branch : develop
This commit is contained in:
parent
9bb46d2ae8
commit
a56b938636
1 changed files with 3 additions and 3 deletions
|
@ -840,9 +840,9 @@ MACRO(NL_SETUP_BUILD)
|
||||||
|
|
||||||
# use libc++ under OX X to be able to use new C++ features (and else it'll use GCC 4.2.1 STL)
|
# use libc++ under OX X to be able to use new C++ features (and else it'll use GCC 4.2.1 STL)
|
||||||
# minimum target is now OS X 10.7
|
# minimum target is now OS X 10.7
|
||||||
ADD_PLATFORM_FLAGS("-stdlib=libc++")
|
SET(PLATFORM_CXXFLAGS "${PLATFORM_CXXFLAGS} -stdlib=libc++")
|
||||||
|
|
||||||
SET(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -Wl,-headerpad_max_install_names")
|
ADD_PLATFORM_LINKFLAGS("-Wl,-headerpad_max_install_names")
|
||||||
|
|
||||||
IF(HAVE_FLAG_SEARCH_PATHS_FIRST)
|
IF(HAVE_FLAG_SEARCH_PATHS_FIRST)
|
||||||
ADD_PLATFORM_LINKFLAGS("-Wl,-search_paths_first")
|
ADD_PLATFORM_LINKFLAGS("-Wl,-search_paths_first")
|
||||||
|
|
Loading…
Reference in a new issue