Move FeatureSummary include to top of CMakeLists.txt

* Fixes #4024
This commit is contained in:
Janek Bevendorff 2019-12-16 09:53:57 +01:00 committed by Jonathan White
parent 26afdb39d3
commit 7f262a1210

View File

@ -36,6 +36,7 @@ endif (CCACHE_FOUND)
# Support Visual Studio Code
include(CMakeToolsHelpers OPTIONAL)
include(FeatureSummary)
include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
@ -465,8 +466,6 @@ endif()
include_directories(SYSTEM ${GCRYPT_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
include(FeatureSummary)
add_subdirectory(src)
add_subdirectory(share)
if(WITH_TESTS)