Only use libc++ on APPLE; remove LMMS_BUILD_CLANG define, as it's no longer needed

This commit is contained in:
Colin Wallace
2016-02-24 18:25:49 -08:00
parent 1c0d329dfb
commit 59276a0307
3 changed files with 2 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# Enable C++11
ADD_DEFINITIONS(-std=c++0x)
IF(LMMS_BUILD_CLANG)
IF(LMMS_BUILD_APPLE)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
ENDIF()