Bläddra i källkod

add AAIOLIB to linux rules

richarddobson 2 år sedan
förälder
incheckning
c691a13307
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      dev/externals/paprogs/paplay/CMakeLists.txt

+ 3 - 1
dev/externals/paprogs/paplay/CMakeLists.txt

@@ -20,9 +20,11 @@ else()
     set(EXTRA_LIBRARIES1 winmm dsound winspool portsf ${EXTRA_LIBRARIES})
     set(EXTRA_LIBRARIES1 winmm dsound winspool portsf ${EXTRA_LIBRARIES})
   else()
   else()
     link_directories (/usr/local/lib)
     link_directories (/usr/local/lib)
+    link_directories (../portaudio/lib/.libs)
+    find_library(PA NAMES libportaudio.a)
     find_library(AAIOLIB NAMES libaaio.a)
     find_library(AAIOLIB NAMES libaaio.a)
     set(CMAKE_C_FLAGS "-O3 -Wall -Dlinux -Dunix -fomit-frame-pointer -funroll-loops")
     set(CMAKE_C_FLAGS "-O3 -Wall -Dlinux -Dunix -fomit-frame-pointer -funroll-loops")
-    set(EXTRA_LIBRARIES1 jack asound portsf pthread ${AAIOLIB} ${EXTRA_LIBRARIES})
+    set(EXTRA_LIBRARIES1 jack asound portsf portaudio pthread ${AAIOLIB} ${EXTRA_LIBRARIES})
   endif()
   endif()
 endif()
 endif()