mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
CMake: Enable position-independent-code by default for binary data targets
This commit is contained in:
parent
6d7054fa52
commit
fac6f4cb20
1 changed files with 2 additions and 0 deletions
|
|
@ -405,6 +405,8 @@ function(juce_add_binary_data target)
|
|||
|
||||
add_library(${target} STATIC)
|
||||
|
||||
set_target_properties(${target} PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
|
||||
|
||||
set(juce_binary_data_folder "${CMAKE_CURRENT_BINARY_DIR}/juce_binarydata_${target}/JuceLibraryCode")
|
||||
|
||||
set(binary_file_names)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue