mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-03 20:54:18 +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})
|
include_directories(${PORTAUDIO_INCLUDE_DIRS})
|
||||||
link_directories(${PORTAUDIO_LIBRARY_DIRS})
|
link_directories(${PORTAUDIO_LIBRARY_DIRS})
|
||||||
link_libraries(${PORTAUDIO_LIBRARIES})
|
link_libraries(${PORTAUDIO_LIBRARIES})
|
||||||
add_compile_definitions(HAVE_PORTAUDIO)
|
# CMake 3.12 - add_compile_definitions(HAVE_PORTAUDIO)
|
||||||
|
SET(CMAKE_C_FLAGS "-DHAVE_PORTAUDIO")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# extra compiler warnings
|
# extra compiler warnings
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required (VERSION 3.5)
|
cmake_minimum_required (VERSION 3.12)
|
||||||
project(PTS)
|
project(PTS)
|
||||||
|
|
||||||
# fink pkgconfig
|
# fink pkgconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user