Просмотр исходного кода

curl: Do not call cmake_minimum_required inside CMake itself

Re-use the requirements from the top-level.
Brad King 7 лет назад
Родитель
Сommit
53e65e8e0a
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      Utilities/cmcurl/CMakeLists.txt

+ 0 - 1
Utilities/cmcurl/CMakeLists.txt

@@ -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)