Skip to content

Commit 09779c5

Browse files
committed
Build libsamplerate with -fPIC
1 parent b7e1b21 commit 09779c5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

external/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ FetchContent_Declare(
1010
FetchContent_MakeAvailable(pybind11)
1111

1212
# libsamplerate
13+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
1314
set(BUILD_TESTING OFF CACHE BOOL "Disable libsamplerate test build")
1415

1516
FetchContent_Declare(

0 commit comments

Comments
 (0)