Browse Source
CMake: Enable position-independent-code by default for binary data targets
v7.0.12
reuk
1 year ago
No known key found for this signature in database
GPG Key ID: FCB43929F012EE5C
1 changed files with
2 additions and
0 deletions
-
extras/Build/CMake/JUCEUtils.cmake
|
|
|
@@ -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) |
|
|
|
|