From: Michihiro NAKAJIMA Date: Tue, 6 Mar 2012 09:51:19 +0000 (+0900) Subject: Move CMAKE_MINIMUM_REQUIRED to the top of CMakeLists.txt to avoid warnings X-Git-Tag: v3.0.4~2^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=862ad0c9a1c9ff0f2a6e88ce5f06fae5b8a88375;p=thirdparty%2Flibarchive.git Move CMAKE_MINIMUM_REQUIRED to the top of CMakeLists.txt to avoid warnings on Cygwin. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d80ca980b..4d66b2c84 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ # +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.6 FATAL_ERROR) # PROJECT(libarchive C) # -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.6 FATAL_ERROR) SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/build/cmake") if(NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${libarchive_BINARY_DIR}/bin)