diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a16c71d1b..e77a70c6e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,10 +15,12 @@ # # Read README.cmake before using this. -PROJECT(HTTPD C) - +# CMAKE_MINIMUM_REQUIRED should be the first directive in the file: +# https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html CMAKE_MINIMUM_REQUIRED(VERSION 2.8) +PROJECT(HTTPD C) + INCLUDE(CheckSymbolExists) INCLUDE(CheckCSourceCompiles) |