mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 18:32:49 -06:00
Looks like that might be needed on OSX after all
This commit is contained in:
parent
d7ad14ae20
commit
b027f7fe15
1 changed files with 2 additions and 6 deletions
|
@ -5,12 +5,8 @@ cmake_minimum_required(VERSION 2.8.11)
|
||||||
project(citra)
|
project(citra)
|
||||||
|
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes -pthread")
|
||||||
|
|
||||||
if (NOT APPLE)
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
|
||||||
endif()
|
|
||||||
else()
|
else()
|
||||||
# Silence deprecation warnings
|
# Silence deprecation warnings
|
||||||
add_definitions(/D_CRT_SECURE_NO_WARNINGS)
|
add_definitions(/D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
|
Loading…
Reference in a new issue