mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-18 19:21:54 +00:00
libusb: fix build with older CMake < 3.12
This commit is contained in:
parent
5403525e24
commit
4198a07c2c
@ -17,7 +17,8 @@ if(PORTAUDIO_FOUND)
|
||||
include_directories(${PORTAUDIO_INCLUDE_DIRS})
|
||||
link_directories(${PORTAUDIO_LIBRARY_DIRS})
|
||||
link_libraries(${PORTAUDIO_LIBRARIES})
|
||||
add_compile_definitions(HAVE_PORTAUDIO)
|
||||
# CMake 3.12 - add_compile_definitions(HAVE_PORTAUDIO)
|
||||
SET(CMAKE_C_FLAGS "-DHAVE_PORTAUDIO")
|
||||
endif()
|
||||
|
||||
# extra compiler warnings
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required (VERSION 3.5)
|
||||
cmake_minimum_required (VERSION 3.12)
|
||||
project(PTS)
|
||||
|
||||
# fink pkgconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user