mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
Autogen: Tests: Disable an AUTOMOC_DEPENDS_FILTER test for Ninja
Ninja does not recognize changes in included files that are generated by AUTOMOC on the first run. This is an open issue: https://gitlab.kitware.com/cmake/cmake/issues/16776
This commit is contained in:
1 parent
3c77515e13
commit
c8f92db72c
1 file changed
+11
-3
@@ -57,7 +57,11 @@ if (NOT plDAfter GREATER plDBefore)
|
||||
message(SEND_ERROR "file (${plDFile}) should have changed!")
|
||||
endif()
|
||||
if (NOT plEAfter GREATER plEBefore)
|
||||
message(SEND_ERROR "file (${plEFile}) should have changed!")
|
||||
# There's a bug in Ninja on Windows
|
||||
# https://gitlab.kitware.com/cmake/cmake/issues/16776
|
||||
if(NOT ("${CMAKE_GENERATOR}" MATCHES "Ninja"))
|
||||
message(SEND_ERROR "file (${plEFile}) should have changed!")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# - Ensure that the timestamp will change.
|
||||
@@ -83,6 +87,10 @@ endif()
|
||||
if (NOT plDAfter GREATER plDBefore)
|
||||
message(SEND_ERROR "file (${plDFile}) should have changed!")
|
||||
endif()
|
||||
if (NOT plEAfter GREATER plEBefore)
|
||||
message(SEND_ERROR "file (${plEFile}) should have changed!")
|
||||
if (NOT plEAfter GREATER plEBefore)
|
||||
# There's a bug in Ninja on Windows
|
||||
# https://gitlab.kitware.com/cmake/cmake/issues/16776
|
||||
if(NOT ("${CMAKE_GENERATOR}" MATCHES "Ninja"))
|
||||
message(SEND_ERROR "file (${plEFile}) should have changed!")
|
||||
endif()
|
||||
endif()
|
||||
Reference in new issue
Block a user