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

CMake: Make check slightly more idiomatic

This commit is contained in:
reuk 2020-04-14 22:07:27 +01:00
parent 28ef311668
commit c244bbbdb0

View file

@ -1749,7 +1749,7 @@ function(_juce_initialise_target target)
# Overwrite any properties that might be inherited
foreach(prop_string IN ITEMS ${inherited_properties})
if(${JUCE_ARG_${prop_string}} MATCHES ".+")
if(NOT ${JUCE_ARG_${prop_string}} STREQUAL "")
set_target_properties(${target} PROPERTIES JUCE_${prop_string} "${JUCE_ARG_${prop_string}}")
endif()
endforeach()