summaryrefslogtreecommitdiff
blob: 3811e9b85b450393a25f2518f1c70db36c874eb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
Index: src/CMakeLists.txt
===================================================================
--- sptk-4.00/src/CMakeLists.txt  (revision 1108)
+++ sptk-4.00/src/CMakeLists.txt  (working copy)
@@ -53,7 +53,7 @@
 IF (WIN32)
  SET_TARGET_PROPERTIES (sputil4 PROPERTIES LINK_FLAGS "-mwindows -mno-cygwin")
 ELSE (WIN32)
- SET_TARGET_PROPERTIES (sputil4 PROPERTIES LINK_FLAGS "-lpthread")
+ TARGET_LINK_LIBRARIES (sputil4 pthread)
 ENDIF (WIN32)