Merge pull request #2609 from Wallacoloo/clang-fixes

Only use libc++ on when using clang *on apple*
This commit is contained in:
Tres Finocchiaro
2016-02-26 00:00:20 -05:00
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()