CMake/Tests/RunCMake/CMP0054/CMP0054-duplicate-warnings....

13 lines
167 B
CMake
Raw Permalink Normal View History

set(FOO "BAR")
function(generate_warning)
if("FOO" STREQUAL "BAR")
endif()
endfunction()
generate_warning()
generate_warning()
if("FOO" STREQUAL "BAR")
endif()