summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJohannes Ekberg <uppfinnarn@gmail.com>2014-12-27 00:19:18 +0100
committerJohannes Ekberg <uppfinnarn@gmail.com>2015-01-09 15:50:47 +0100
commitb027f7fe1537c9437f43782c6aa0bc6c98649831 (patch)
treef14cd30051624685a6b2dd9113386241872577d7 /CMakeLists.txt
parentUse -pthread where and only where needed (diff)
downloadyuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar
yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar.gz
yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar.bz2
yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar.lz
yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar.xz
yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar.zst
yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 81a793dc4..d9fc9c8f9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,12 +5,8 @@ cmake_minimum_required(VERSION 2.8.11)
project(citra)
if (NOT MSVC)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes")
-
- if (NOT APPLE)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
- endif()
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes -pthread")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
else()
# Silence deprecation warnings
add_definitions(/D_CRT_SECURE_NO_WARNINGS)