1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 00:49:33 +02:00

Compile libsoxr with position independent code on Linux...

... so that an extracted library can link to it
This commit is contained in:
Paul Licameli 2021-07-21 15:01:40 -04:00
parent 2ae8405032
commit 84197328b5

View File

@ -95,3 +95,6 @@ target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
if( CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
target_compile_options( ${TARGET} PRIVATE -fPIC )
endif()