mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 05:45:51 +00:00
2e99949ccb
Previously CMake silently accepted the empty string and added a bogus dependency on the current directory. Instead warn about the empty file name and ignore it. We cannot make this an error because there may be existing projects that accidentally depend on the old behavior. Add a RunCMake.include test to cover this case.
6 lines
247 B
Plaintext
6 lines
247 B
Plaintext
CMake Warning \(dev\) at EmptyString.cmake:1 \(include\):
|
|
include\(\) given empty file name \(ignored\).
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
This warning is for project developers. Use -Wno-dev to suppress it.
|