cmake/Tests/RunCMake/NinjaPrivateDeps/CMP0154-NEW-Build-EmptyFileSet-Source-check.cmake

4 lines
147 B
CMake
Raw Normal View History

2023-12-07 09:12:54 +01:00
if (EXISTS ${RunCMake_TEST_BINARY_DIR}/empty.cpp)
set(RunCMake_TEST_FAILED "Compiled source generated before compilation of consumers.")
endif()