Skip to content

Commit

Permalink
CMake: Add missing targets to install set
Browse files Browse the repository at this point in the history
  • Loading branch information
reuk authored and Reuben Thomas committed Apr 28, 2020
1 parent 35e8be4 commit e19b724
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extras/Build/CMake/JUCEUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

0 comments on commit e19b724

Please sign in to comment.