diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-22 11:11:37 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-22 11:11:37 -0500 |
commit | 949d95659e019d2c1bb58327827e1a9fc39b28ee (patch) | |
tree | eca14a68ab0d253412689ec58f003c014e4d02ae /CMakeLists.txt | |
parent | a94d9ed4de61ad27ba4c3a51e8295ed2c91890af (diff) | |
parent | ea63b1a8c39ab719423ff5918e178102c59ae7d9 (diff) |
Merge pull request #275 from yuriks/cmake-clean
Clean up CMake library specification
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1491df6e..5bb87d50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ project(citra) if (NOT MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes") + add_definitions(-pthread) else() # Silence deprecation warnings add_definitions(/D_CRT_SECURE_NO_WARNINGS) @@ -96,10 +97,6 @@ if (ENABLE_GLFW) set(GLFW_LIBRARIES glfw3) else() - if (NOT APPLE) - find_package(X11 REQUIRED) - endif() - find_package(PkgConfig REQUIRED) pkg_search_module(GLFW REQUIRED glfw3) endif() |