From f6925db3d80dc0b76cb5fc3b9946b4047797fdad Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sat, 10 May 2014 10:31:42 +0200 Subject: [PATCH] update: add cmake_mimimum_required statement to each cmake file for consistency --- code/CMakeLists.txt | 1 + test/CMakeLists.txt | 2 ++ tools/assimp_cmd/CMakeLists.txt | 2 ++ tools/assimp_view/CMakeLists.txt | 3 ++- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 9afbc6c3d..da39c10c4 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -4,6 +4,7 @@ # 3) Add libassimp using the file lists (eliminates duplication of file names between # source groups and library command) # +cmake_minimum_required( VERSION 2.6 ) SET( HEADER_PATH ../include/assimp ) SET( COMPILER_HEADERS diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7f138e2a1..87c36a893 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,5 @@ +cmake_minimum_required( VERSION 2.6 ) + INCLUDE_DIRECTORIES( ${Assimp_SOURCE_DIR}/include ${Assimp_SOURCE_DIR}/code diff --git a/tools/assimp_cmd/CMakeLists.txt b/tools/assimp_cmd/CMakeLists.txt index 899a8e02a..374758db8 100644 --- a/tools/assimp_cmd/CMakeLists.txt +++ b/tools/assimp_cmd/CMakeLists.txt @@ -1,3 +1,5 @@ +cmake_minimum_required( VERSION 2.6 ) + INCLUDE_DIRECTORIES( ${Assimp_SOURCE_DIR}/include ${Assimp_SOURCE_DIR}/code diff --git a/tools/assimp_view/CMakeLists.txt b/tools/assimp_view/CMakeLists.txt index ebca500b3..ddc18686a 100644 --- a/tools/assimp_view/CMakeLists.txt +++ b/tools/assimp_view/CMakeLists.txt @@ -1,5 +1,6 @@ -FIND_PACKAGE(DirectX REQUIRED) +cmake_minimum_required( VERSION 2.6 ) +FIND_PACKAGE(DirectX REQUIRED) INCLUDE_DIRECTORIES ( ${Assimp_SOURCE_DIR}/include