mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
curl: Do not call cmake_minimum_required inside CMake itself
Re-use the requirements from the top-level.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user