summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-03-06 18:51:19 +0900
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-03-06 18:51:19 +0900
commit862ad0c9a1c9ff0f2a6e88ce5f06fae5b8a88375 (patch)
treedb7f4c934020c437ed2e3853e3bb5510ebbed01f
parent1dc1e2dff709fd4828d73387a6f4ce0459dce76a (diff)
downloadlibarchive-862ad0c9a1c9ff0f2a6e88ce5f06fae5b8a88375.tar.gz
Move CMAKE_MINIMUM_REQUIRED to the top of CMakeLists.txt to avoid warnings
on Cygwin.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d80ca980..4d66b2c8 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)