Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portaudio:fix compile error #559

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions port/freebsd-netgraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig)

Expand All @@ -166,6 +163,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# pthread
find_package(Threads)
link_libraries(${CMAKE_THREAD_LIBS_INIT})
Expand Down
6 changes: 3 additions & 3 deletions port/libusb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig required to link libusb
find_package(PkgConfig REQUIRED)

Expand All @@ -157,6 +154,9 @@ if(PORTAUDIO_FOUND)
add_compile_definitions(HAVE_PORTAUDIO)
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# pthread
find_package(Threads)
link_libraries(${CMAKE_THREAD_LIBS_INIT})
Expand Down
6 changes: 3 additions & 3 deletions port/posix-h4-bcm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig)

Expand All @@ -144,6 +141,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# pthread
find_package(Threads)
link_libraries(${CMAKE_THREAD_LIBS_INIT})
Expand Down
6 changes: 3 additions & 3 deletions port/posix-h4-nxp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig)

Expand All @@ -144,6 +141,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# pthread
find_package(Threads)
link_libraries(${CMAKE_THREAD_LIBS_INIT})
Expand Down
6 changes: 3 additions & 3 deletions port/posix-h4-zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig)

Expand All @@ -90,6 +87,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# pthread
find_package(Threads)
link_libraries(${CMAKE_THREAD_LIBS_INIT})
Expand Down
6 changes: 3 additions & 3 deletions port/posix-h4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig)

Expand All @@ -166,6 +163,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# pthread
find_package(Threads)
link_libraries(${CMAKE_THREAD_LIBS_INIT})
Expand Down
6 changes: 3 additions & 3 deletions port/windows-h4-da14585/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig)

Expand All @@ -84,6 +81,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# get list of examples, skipping mesh_node_demo
include(../../example/CMakeLists.txt)
set (EXAMPLES ${EXAMPLES_LE_ONLY} ${EXAMPLES_GENERAL})
Expand Down
6 changes: 3 additions & 3 deletions port/windows-h4-zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig)

Expand All @@ -84,6 +81,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# get list of examples, skipping mesh_node_demo
include(../../example/CMakeLists.txt)
set (EXAMPLES ${EXAMPLES_LE_ONLY} ${EXAMPLES_GENERAL})
Expand Down
6 changes: 3 additions & 3 deletions port/windows-h4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig)

Expand All @@ -167,6 +164,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# Add CC256x Support and specify init script
set (CC256X_INIT_SCRIPT bluetooth_init_cc2564C_1.5.c)
include(${BTSTACK_ROOT}/chipset/cc256x/cc256x.cmake)
Expand Down
6 changes: 3 additions & 3 deletions port/windows-winusb-intel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig QUIET)

Expand All @@ -101,6 +98,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# get list of examples, skipping mesh_node_demo
include(../../example/CMakeLists.txt)
set (EXAMPLES ${EXAMPLES_GENERAL} ${EXAMPLES_CLASSIC_ONLY} ${EXAMPLES_LE_ONLY} ${EXAMPLES_DUAL_MODE})
Expand Down
6 changes: 3 additions & 3 deletions port/windows-winusb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ set(SOURCES
)
list(SORT SOURCES)

# create static lib
add_library(btstack STATIC ${SOURCES})

# pkgconfig
find_package(PkgConfig QUIET)

Expand All @@ -93,6 +90,9 @@ if (PkgConfig_FOUND)
endif()
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# get list of examples, skipping mesh_node_demo
include(../../example/CMakeLists.txt)
set (EXAMPLES ${EXAMPLES_GENERAL} ${EXAMPLES_CLASSIC_ONLY} ${EXAMPLES_LE_ONLY} ${EXAMPLES_DUAL_MODE})
Expand Down
6 changes: 3 additions & 3 deletions test/avdtp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ list(SORT SOURCES)

set_source_files_properties(../../src/classic/hfp_ag.c PROPERTIES LANGUAGE CXX )

# create static lib
add_library(btstack STATIC ${SOURCES})

# portaudio
pkg_check_modules(PORTAUDIO portaudio-2.0)
if(PORTAUDIO_FOUND)
Expand All @@ -90,6 +87,9 @@ if(PORTAUDIO_FOUND)
add_compile_definitions(HAVE_PORTAUDIO)
endif()

# create static lib
add_library(btstack STATIC ${SOURCES})

# create targets for all examples
file(GLOB EXAMPLES_C "*.c")
list(SORT EXAMPLES_C)
Expand Down