Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
99dbd8c2
Commit
99dbd8c2
authored
Dec 06, 2014
by
Davis King
Browse files
Minor changes to cmake scripts to avoid warnings in new version of cmake.
parent
aed1a3ee
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+1
-0
dlib/cmake
dlib/cmake
+3
-0
dlib/test/CMakeLists.txt
dlib/test/CMakeLists.txt
+1
-1
No files found.
dlib/CMakeLists.txt
View file @
99dbd8c2
...
...
@@ -8,6 +8,7 @@ SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
cmake_minimum_required
(
VERSION 2.4
)
set
(
CMAKE_LEGACY_CYGWIN_WIN32 0
)
# Remove when CMake >= 2.8.4 is required
# Suppress cmake warnings about changes in new versions.
if
(
COMMAND cmake_policy
)
cmake_policy
(
SET CMP0003 NEW
)
...
...
dlib/cmake
View file @
99dbd8c2
cmake_minimum_required(VERSION 2.6.4)
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
# Don't add dlib if it's already been added to the cmake project
if (NOT TARGET dlib)
...
...
dlib/test/CMakeLists.txt
View file @
99dbd8c2
...
...
@@ -3,7 +3,7 @@
# information about it at http://www.cmake.org
#
cmake_minimum_required
(
VERSION 2.
6
)
cmake_minimum_required
(
VERSION 2.
8.4
)
# This variable contains a list of all the tests we are building
# into the regression test suite.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment