linking pthreads for unres/src_MIN
[unres.git] / CMakeLists.txt
index e01208a..c9c8b95 100644 (file)
@@ -117,7 +117,7 @@ endif(MPIF_FOUND)
 
 #======================================
 # Detect system architecture
-#
+#=======================================
 
 if( CMAKE_SIZEOF_VOID_P EQUAL 4 )
   set(architektura "32")
@@ -127,6 +127,14 @@ endif( CMAKE_SIZEOF_VOID_P EQUAL 4 )
 
 message("Detected ${architektura}-bit architecture")   
 
+#=======================================
+# Find other libraries
+#=======================================
+
+# used by unres/src_MIN
+find_package (Threads)
+
+
 
 #=======================================
 #  Create diractories for build targets