curl: Do not call cmake_minimum_required inside CMake itself

Re-use the requirements from the top-level.
This commit is contained in:
Brad King
2018-10-25 11:47:48 -04:00
parent 533de8873a
commit 53e65e8e0a
-1
View File
@@ -123,7 +123,6 @@ endif()
# To check:
# (From Daniel Stenberg) The cmake build selected to run gcc with -fPIC on my box while the plain configure script did not.
# (From Daniel Stenberg) The gcc command line use neither -g nor any -O options. As a developer, I also treasure our configure scripts's --enable-debug option that sets a long range of "picky" compiler options.
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}")
include(Utilities)
include(Macros)