Skip to content

Commit bc8c757

Browse files
committed
Set CMAKE_POSITION_INDEPENDENT_CODE to ON for libsamplerate
1 parent 58d7f5c commit bc8c757

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

external/CMakeLists.txt

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

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

1516
FetchContent_Declare(
1617
libsamplerate

0 commit comments

Comments
 (0)