--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -34,12 +34,14 @@
   add_definitions(-DHAVE_LIBPFM)
 endif()
 
-# Link threads.
+# Link threads. Non-Windows only
+if(!WIN32)
 target_link_libraries(benchmark  ${BENCHMARK_CXX_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
 find_library(LIBRT rt)
 if(LIBRT)
   target_link_libraries(benchmark ${LIBRT})
 endif()
+endif()
 
 if(CMAKE_BUILD_TYPE)
   string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_UPPER)
