CMake/Tests/RunCMake/configure_file/UnknownArg.cmake
Brad King 1531df2b86 configure_file: Warn about unknown arguments
Extend the RunCMake.configure_file test with a case covering possible
common typos of the COPYONLY option.

Reported-by: Iosif Neitzke <iosif.neitzke@gmail.com>
2014-10-31 13:21:21 -04:00

3 lines
124 B
CMake

configure_file(${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in UnknownArg.txt
@ONLY COPYONLY COPY_ONLY COPYFILE COPY_FILE)