-IF(ZTHREADS_LIBRARY)\r
- TARGET_LINK_LIBRARIES(fms ${ZTHREADS_LIBRARY})\r
-ELSE(ZTHREADS_LIBRARY)\r
- MESSAGE(FATAL_ERROR "Could not find ZThreads library. You must set the location manually.")\r
-ENDIF(ZTHREADS_LIBRARY)\r
+#IF(ZTHREADS_LIBRARY)\r
+# TARGET_LINK_LIBRARIES(fms ${ZTHREADS_LIBRARY})\r
+#ELSE(ZTHREADS_LIBRARY)\r
+# MESSAGE(FATAL_ERROR "Could not find ZThreads library. You must set the location manually.")\r
+#ENDIF(ZTHREADS_LIBRARY)\r
+\r
+IF(PTHREADS_LIBRARY)\r
+ TARGET_LINK_LIBRARIES(fms ${PTHREADS_LIBRARY})\r
+ELSE(PTHREADS_LIBRARY)\r
+ MESSAGE(FATAL ERROR "Could not find pthreads library. You must set the location manually.")\r
+ENDIF(PTHREADS_LIBRARY)\r