gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit f816a41f392c8cbaaf158db40eb415b0f0b4f8fa
parent f6e9d2b1d2f0e421714c9c29c469b448344139c1
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Wed, 25 Sep 2024 00:07:47 +0200

fix various cmake warnings in 3rdparty libs portaudio/portmidi

Diffstat:
Msource/portaudio/CMakeLists.txt | 2+-
Msource/portmidi/pm_common/CMakeLists.txt | 14+++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/source/portaudio/CMakeLists.txt b/source/portaudio/CMakeLists.txt @@ -4,7 +4,7 @@ # http://www.portaudio.com/trac/wiki/TutorialDir/Compile/CMake # -CMAKE_MINIMUM_REQUIRED(VERSION 2.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.15) # Check if the user is building PortAudio stand-alone or as part of a larger # project. If this is part of a larger project (i.e. the CMakeLists.txt has diff --git a/source/portmidi/pm_common/CMakeLists.txt b/source/portmidi/pm_common/CMakeLists.txt @@ -22,9 +22,9 @@ endmacro(prepend_path) # first include the appropriate system-dependent file: if(UNIX) if(APPLE) - set(MACSRC pmmacosxcm pmmac readbinaryplist finddefault) + set(MACSRC pmmacosxcm.c pmmac.c readbinaryplist.c finddefault.c) prepend_path(LIBSRC ../pm_mac/ ${MACSRC}) - list(APPEND LIBSRC ../porttime/ptmacosx_mach) + list(APPEND LIBSRC ../porttime/ptmacosx_mach.c) include_directories(${CMAKE_OSX_SYSROOT}/Developer/Headers/FlatCarbon) set(FRAMEWORK_PATH ${CMAKE_OSX_SYSROOT}/System/Library/Frameworks) @@ -53,9 +53,9 @@ if(UNIX) # libjvm.so is found relative to JAVA_INCLUDE_PATH: set(JAVAVM_LIB ${JAVA_JVM_LIBRARY}/libjvm.so) endif() - set(LINUXSRC pmlinuxalsa pmlinux finddefault) + set(LINUXSRC pmlinuxalsa.c pmlinux.c finddefault.c) prepend_path(LIBSRC ../pm_linux/ ${LINUXSRC}) - list(APPEND LIBSRC ../porttime/ptlinux) + list(APPEND LIBSRC ../porttime/ptlinux.c) if(NOT ANDROID) set(PM_NEEDED_LIBS pthread asound) @@ -74,9 +74,9 @@ else(UNIX) # message(STATUS "JAVA_INCLUDE_PATHS: " ${JAVA_INCLUDE_PATHS}) endif() - set(WINSRC pmwin pmwinmm) + set(WINSRC pmwin.c pmwinmm.c) prepend_path(LIBSRC ../pm_win/ ${WINSRC}) - list(APPEND LIBSRC ../porttime/ptwinmm) + list(APPEND LIBSRC ../porttime/ptwinmm.c) set(PM_NEEDED_LIBS winmm.lib) endif(WIN32) endif(UNIX) @@ -85,7 +85,7 @@ if(PMJAVA) endif() # this completes the list of library sources by adding shared code -list(APPEND LIBSRC pmutil portmidi) +list(APPEND LIBSRC pmutil.c portmidi.c) # now add the shared files to make the complete list of library sources add_library(portmidi-static ${LIBSRC})