mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Link filesystem library to vst3_helper when building with gcc7
This commit is contained in:
parent
9b041f3d74
commit
3fae79c17c
1 changed files with 4 additions and 0 deletions
|
|
@ -997,6 +997,10 @@ function(_juce_add_vst3_manifest_helper_target)
|
|||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(juce_vst3_helper PRIVATE Threads::Threads ${CMAKE_DL_LIBS} juce_recommended_config_flags)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9)
|
||||
target_link_libraries(juce_vst3_helper PRIVATE stdc++fs)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
function(juce_enable_vst3_manifest_step shared_code_target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue