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

@@ -5,7 +5,7 @@ INCLUDE_DIRECTORIES(unrtf)
# 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()