summaryrefslogtreecommitdiff
blob: 1ef67a15c13d698f6fdf9e064e2be13cce906f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- Csound6.02/InOut/CMakeLists.txt
+++ Csound6.02/InOut/CMakeLists.txt
@@ -33,10 +33,6 @@
     find_library(PORTMIDI_LIBRARY portmidi)
 #    include_directories(${PORTMIDI_INCLUDE_PATH})
 #    include_directories(${PORTTIME_INCLUDE_PATH})
-    if(WIN32)
-    else()
-        find_library(PORTTIME_LIBRARY porttime)
-    endif()
 endif()
 if(USE_JACK)
     find_library(JACK_LIBRARY jack)
@@ -126,15 +122,12 @@
 elseif(WIN32)
     check_deps(USE_PORTMIDI PORTMIDI_INCLUDE_PATH PORTTIME_INCLUDE_PATH PORTMIDI_LIBRARY)
 else()
-    check_deps(USE_PORTMIDI PORTMIDI_INCLUDE_PATH PORTMIDI_LIBRARY PORTTIME_LIBRARY)
+    check_deps(USE_PORTMIDI PORTMIDI_INCLUDE_PATH PORTMIDI_LIBRARY)
 endif()
 
 if(USE_PORTMIDI)
     set(pmidi_LIBS ${PORTMIDI_LIBRARY})
     include_directories(${PORTMIDI_INCLUDE_PATH})
-    if(LINUX)
-        list(APPEND pmidi_LIBS ${PORTTIME_LIBRARY})
-    endif()
     if(WIN32)
         include_directories(${PORTTIME_INCLUDE_PATH})
         list(APPEND pmidi_LIBS ${CSOUND_WINDOWS_LIBRARIES})