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

13 lines
167 B
CMake

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