Use -stdlib=libc++ on macOS

This commit is contained in:
Ceylo 2018-01-28 18:35:00 +01:00 committed by Lukas Dürrenberger
parent 14dd503c8a
commit 511c16329e
2 changed files with 29 additions and 16 deletions

View file

@ -356,6 +356,9 @@ else()
# create SFML.framework
add_library(SFML ${SFML_SOURCES})
# set the target flags to use the appropriate C++ standard library
sfml_set_stdlib(SFML)
# edit target properties
set_target_properties(SFML PROPERTIES
FRAMEWORK TRUE