mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Add a notification when files are not sorted in CMake
Would've solved the problem in #2039 faster.
This commit is contained in:
parent
9e16b376bb
commit
fbdc6d69be
|
@ -218,6 +218,9 @@ function(set_glob VAR GLOBBING EXTS DIRECTORY) # ...
|
|||
if(GLOB_BUT_NOT_LIST)
|
||||
message(AUTHOR_WARNING "Entries only present in ${DIRECTORY}: ${GLOB_BUT_NOT_LIST}")
|
||||
endif()
|
||||
if(NOT LIST_BUT_NOT_GLOB AND NOT GLOB_BUT_NOT_LIST)
|
||||
message(AUTHOR_WARNING "${VAR} is not alphabetically sorted")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue