1
0
Fork 0
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:
reuk 2024-01-02 12:17:16 +00:00
parent 6d7054fa52
commit fac6f4cb20
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -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)