summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Johannes Ekberg2014-12-27 00:19:18 +0100
committerGravatar Johannes Ekberg2015-01-09 15:50:47 +0100
commitb027f7fe1537c9437f43782c6aa0bc6c98649831 (patch)
treef14cd30051624685a6b2dd9113386241872577d7
parentUse -pthread where and only where needed (diff)
downloadyuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar.gz
yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar.xz
yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.zip
Looks like that might be needed on OSX after all
-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)
5project(citra) 5project(citra)
6 6
7if (NOT MSVC) 7if (NOT MSVC)
8 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes") 8 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes -pthread")
9 9 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
10 if (NOT APPLE)
11 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
12 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
13 endif()
14else() 10else()
15 # Silence deprecation warnings 11 # Silence deprecation warnings
16 add_definitions(/D_CRT_SECURE_NO_WARNINGS) 12 add_definitions(/D_CRT_SECURE_NO_WARNINGS)