diff options
| author | 2014-12-27 00:19:18 +0100 | |
|---|---|---|
| committer | 2015-01-09 15:50:47 +0100 | |
| commit | b027f7fe1537c9437f43782c6aa0bc6c98649831 (patch) | |
| tree | f14cd30051624685a6b2dd9113386241872577d7 | |
| parent | Use -pthread where and only where needed (diff) | |
| download | yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar.gz yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.tar.xz yuzu-b027f7fe1537c9437f43782c6aa0bc6c98649831.zip | |
Looks like that might be needed on OSX after all
| -rw-r--r-- | CMakeLists.txt | 8 |
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) | |||
| 5 | project(citra) | 5 | project(citra) |
| 6 | 6 | ||
| 7 | if (NOT MSVC) | 7 | if (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() | ||
| 14 | else() | 10 | else() |
| 15 | # Silence deprecation warnings | 11 | # Silence deprecation warnings |
| 16 | add_definitions(/D_CRT_SECURE_NO_WARNINGS) | 12 | add_definitions(/D_CRT_SECURE_NO_WARNINGS) |