diff --git a/CMakeLists.txt b/CMakeLists.txt index bbe9f76cd..b4581d9f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,9 +80,12 @@ endif() IF (APPLE) # CoreFoundation is required only on OSX FIND_LIBRARY(COREFOUNDATION_LIBRARY CoreFoundation) +ENDIF (APPLE) + +if ("${CMAKE_COMPILER_ID}" STREQUAL "Clang") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++") -ENDIF (APPLE) +endif() option(ENABLE_QT "Enable the Qt frontend" ON) option(CITRA_FORCE_QT4 "Use Qt4 even if Qt5 is available." OFF)