Move pthread dependency to test CMakeLists.txt
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 340055c..dc513ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,9 +4,6 @@
 # Make sure we can import out CMake functions
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
 
-# Resolve dependent packages
-find_package(Threads REQUIRED)
-
 # Import and build Google Test
 include(ExternalProject)
 set_directory_properties(properties EP_PREFIX "${CMAKE_BINARY_DIR}/third_party")
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 195d679..fa5008d 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,3 +1,5 @@
+find_package(Threads REQUIRED)
+
 # Demonstration executable
 add_executable(benchmark_test benchmark_test.cc)
 target_link_libraries(benchmark_test benchmark ${CMAKE_THREAD_LIBS_INIT})