diff options
author | Stephan Vedder <vedder@mbits.info> | 2022-04-28 17:12:23 +0300 |
---|---|---|
committer | Stephan Vedder <vedder@mbits.info> | 2022-05-03 16:24:57 +0300 |
commit | 8b63df789eaf3fb53ef508f0048b41dd6e09eb60 (patch) | |
tree | 379e82e6aa5175ed9f3ba997cdaf268d2b8c44eb | |
parent | fe043211b7e641d20b74e68dd66a22354aa41d4d (diff) |
Remove warnings caused by old CMake versions
-rw-r--r-- | Projects/TheoraPlayer/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Projects/binn/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Projects/bullet3-2.89/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Projects/minizip/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Projects/murmurhash3/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Projects/recastnavigation/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Projects/triangle/CMakeLists.txt | 3 |
7 files changed, 0 insertions, 28 deletions
diff --git a/Projects/TheoraPlayer/CMakeLists.txt b/Projects/TheoraPlayer/CMakeLists.txt index 77eed6e1..512dcdb9 100644 --- a/Projects/TheoraPlayer/CMakeLists.txt +++ b/Projects/TheoraPlayer/CMakeLists.txt @@ -1,6 +1,3 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0) -PROJECT(TheoraPlayer) - SET(LIBDIR "${CMAKE_SOURCE_DIR}/../Libraries") SET(SRCDIR "${CMAKE_SOURCE_DIR}/../Libraries/TheoraPlayer/Source") diff --git a/Projects/binn/CMakeLists.txt b/Projects/binn/CMakeLists.txt index ea9b51f8..70a444d6 100644 --- a/Projects/binn/CMakeLists.txt +++ b/Projects/binn/CMakeLists.txt @@ -1,10 +1,3 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0) -PROJECT(binn) - -IF(WIN32) - #SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4018 /wd4244") -ENDIF() - SET(SRCDIR "${CMAKE_SOURCE_DIR}/../Libraries/binn-3.0/src") SET(LIBDIR "${CMAKE_SOURCE_DIR}/../Libraries") diff --git a/Projects/bullet3-2.89/CMakeLists.txt b/Projects/bullet3-2.89/CMakeLists.txt index 456b6942..f71f77a6 100644 --- a/Projects/bullet3-2.89/CMakeLists.txt +++ b/Projects/bullet3-2.89/CMakeLists.txt @@ -1,10 +1,8 @@ -cmake_minimum_required(VERSION 2.4.3) set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) cmake_policy(SET CMP0017 NEW) #this line has to appear before 'PROJECT' in order to be able to disable incremental linking SET(MSVC_INCREMENTAL_DEFAULT ON) -PROJECT(BULLET_PHYSICS) FILE (STRINGS "VERSION" BULLET_VERSION) IF(COMMAND cmake_policy) diff --git a/Projects/minizip/CMakeLists.txt b/Projects/minizip/CMakeLists.txt index 9d6f5573..7dc9e17c 100644 --- a/Projects/minizip/CMakeLists.txt +++ b/Projects/minizip/CMakeLists.txt @@ -1,6 +1,3 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0) -PROJECT(minizip) - SET(SRCDIR "${CMAKE_SOURCE_DIR}/../Libraries/minizip") SET(LIBDIR "${CMAKE_SOURCE_DIR}/../Libraries") diff --git a/Projects/murmurhash3/CMakeLists.txt b/Projects/murmurhash3/CMakeLists.txt index 0abcbc3a..470e35a4 100644 --- a/Projects/murmurhash3/CMakeLists.txt +++ b/Projects/murmurhash3/CMakeLists.txt @@ -1,10 +1,3 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0) -PROJECT(murmurhash3) - -IF(WIN32) - #SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4018 /wd4244") -ENDIF() - SET(SRCDIR "${CMAKE_SOURCE_DIR}/../Libraries/murmurhash3/") SET(LIBDIR "${CMAKE_SOURCE_DIR}/../Libraries") diff --git a/Projects/recastnavigation/CMakeLists.txt b/Projects/recastnavigation/CMakeLists.txt index b99be50c..32129bb3 100644 --- a/Projects/recastnavigation/CMakeLists.txt +++ b/Projects/recastnavigation/CMakeLists.txt @@ -1,6 +1,3 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0) -PROJECT(RecastNavigation) - SET(SRCDIR "${CMAKE_SOURCE_DIR}/../Libraries/recastnavigation") INCLUDE_DIRECTORIES( diff --git a/Projects/triangle/CMakeLists.txt b/Projects/triangle/CMakeLists.txt index e52a54fa..5646143b 100644 --- a/Projects/triangle/CMakeLists.txt +++ b/Projects/triangle/CMakeLists.txt @@ -1,6 +1,3 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0) -PROJECT(triangle) - IF(WIN32) SET(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -D_CRT_SECURE_NO_WARNINGS") ENDIF() |