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
aba6e363
Commit
aba6e363
authored
Apr 01, 2018
by
Davis King
Browse files
A bit of cleanup
parent
51101fa9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+5
-11
No files found.
dlib/CMakeLists.txt
View file @
aba6e363
...
@@ -767,18 +767,12 @@ if (NOT TARGET dlib)
...
@@ -767,18 +767,12 @@ if (NOT TARGET dlib)
enable_cpp11_for_target
(
dlib_all_source_cpp
)
enable_cpp11_for_target
(
dlib_all_source_cpp
)
endif
()
endif
()
if
(
TARGET dlib
)
enable_cpp11_for_target
(
dlib
)
enable_cpp11_for_target
(
dlib
)
if
(
MSVC AND CMAKE_VERSION VERSION_LESS 3.11
)
if
((
MSVC AND CMAKE_VERSION VERSION_LESS 3.11
)
OR CMAKE_VERSION VERSION_LESS 3.3
)
target_compile_options
(
dlib PUBLIC
${
active_compile_opts
}
)
else
()
if
(
CMAKE_VERSION VERSION_LESS 3.3
)
target_compile_options
(
dlib PUBLIC
${
active_compile_opts
}
)
target_compile_options
(
dlib PUBLIC
${
active_compile_opts
}
)
else
()
else
()
target_compile_options
(
dlib PUBLIC $<$<COMPILE_LANGUAGE:CXX>:
${
active_compile_opts
}
>
)
target_compile_options
(
dlib PUBLIC $<$<COMPILE_LANGUAGE:CXX>:
${
active_compile_opts
}
>
)
endif
()
endif
()
endif
()
endif
()
# Install the library
# Install the library
if
(
NOT DLIB_IN_PROJECT_BUILD
)
if
(
NOT DLIB_IN_PROJECT_BUILD
)
...
...
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