diff options
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/scan_properties/module.cxx')
| -rw-r--r-- | Tests/RunCMake/CXXModules/examples/scan_properties/module.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/scan_properties/module.cxx b/Tests/RunCMake/CXXModules/examples/scan_properties/module.cxx index ad1e04d..fe84261 100644 --- a/Tests/RunCMake/CXXModules/examples/scan_properties/module.cxx +++ b/Tests/RunCMake/CXXModules/examples/scan_properties/module.cxx @@ -1,5 +1,7 @@ -#ifndef CMAKE_SCANNED_THIS_SOURCE -# error "This file should have been scanned" +#if SCANNING_CONTROL +# ifndef CMAKE_SCANNED_THIS_SOURCE +# error "This file should have been scanned" +# endif #endif export module M; |
