From 7ebb1b4d3dea5cbc54134a0123111ac2faf5bd0e Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Tue, 24 Jan 2017 00:09:32 -0800 Subject: [PATCH] CMake: find_package(Threads) on macOS too --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a9cc850481..6aa16aada4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -380,12 +380,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD") endif() # Dolphin requires threads. -# The Apple build may not need an explicit flag because one of the -# frameworks may already provide it. -# But for non-OSX systems, we will use the CMake Threads package. -IF(NOT APPLE) - FIND_PACKAGE(Threads) -ENDIF(NOT APPLE) +find_package(Threads) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release" CACHE STRING