mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +02:00
Compile libsoxr with position independent code on Linux...
... so that an extracted library can link to it
This commit is contained in:
parent
2ae8405032
commit
84197328b5
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user