Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
01e92d18
Commit
01e92d18
authored
Apr 28, 2017
by
Kersten Schuster
Browse files
Compare SHA512 hashes using STREQUAL instead of EQUAL. Fixes weird behavior.
parent
055b5235
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/CMakeLists.txt
View file @
01e92d18
...
...
@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
file
(
SHA512
${
CMAKE_SOURCE_DIR
}
/CMakeLists.txt HASH_TOPLEVEL_CMAKEFILE
)
file
(
SHA512
${
CMAKE_SOURCE_DIR
}
/OpenFlipper/cmake/CMakeLists.txt HASH_LATEST_CMAKEFILE
)
if
(
NOT
${
HASH_TOPLEVEL_CMAKEFILE
}
EQUAL
${
HASH_LATEST_CMAKEFILE
}
)
if
(
NOT
${
HASH_TOPLEVEL_CMAKEFILE
}
STR
EQUAL
${
HASH_LATEST_CMAKEFILE
}
)
message
(
WARNING
"WARNING! Possibly Outdated toplevel CMakeLists.txt. Please update the toplevel copy by the file OpenFlipper/cmake/CMakeLists.txt ."
)
endif
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment