1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

CMake: Add missing targets to install set

This commit is contained in:
reuk 2020-04-27 21:54:40 +01:00 committed by Reuben Thomas
parent 35e8be4dfe
commit e19b724ec8

View file

@ -2216,6 +2216,8 @@ elseif((CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
$<$<CONFIG:Release>:-O3>)
endif()
install(TARGETS juce_recommended_config_flags EXPORT JUCE)
# ==================================================================================================
add_library(juce_recommended_lto_flags INTERFACE)
@ -2230,3 +2232,5 @@ elseif((CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(juce_recommended_lto_flags INTERFACE $<$<CONFIG:Release>:-flto>)
target_link_libraries(juce_recommended_lto_flags INTERFACE $<$<CONFIG:Release>:-flto>)
endif()
install(TARGETS juce_recommended_lto_flags EXPORT JUCE)