Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
db084ba7
Verified
Commit
db084ba7
authored
Dec 05, 2019
by
Justin Carpentier
Browse files
cmake: add check of cmake submodule loading
parent
31c9b823
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
db084ba7
#
#
# Software License Agreement (BSD License)
# Software License Agreement (BSD License)
#
#
# Copyright (c) 2014 CNRS-LAAS
# Copyright (c) 2014
-2019
CNRS-LAAS
, INRIA
# Author: Florent Lamiraux, Joseph Mirabel
# Author: Florent Lamiraux, Joseph Mirabel
# All rights reserved.
# All rights reserved.
#
#
...
@@ -45,6 +45,11 @@ SET(PROJECT_USE_CMAKE_EXPORT TRUE)
...
@@ -45,6 +45,11 @@ SET(PROJECT_USE_CMAKE_EXPORT TRUE)
CMAKE_POLICY
(
SET CMP0022 NEW
)
CMAKE_POLICY
(
SET CMP0022 NEW
)
SET
(
PROJECT_USE_KEYWORD_LINK_LIBRARIES TRUE
)
SET
(
PROJECT_USE_KEYWORD_LINK_LIBRARIES TRUE
)
# Check if the submodule cmake have been initialized
IF
(
NOT EXISTS
"
${
CMAKE_SOURCE_DIR
}
/cmake/base.cmake"
)
MESSAGE
(
FATAL_ERROR
"
\n
Please run the following command first:
\n
git submodule update --init
\n
"
)
ENDIF
()
include
(
cmake/eigen.cmake
)
include
(
cmake/eigen.cmake
)
include
(
cmake/boost.cmake
)
include
(
cmake/boost.cmake
)
include
(
cmake/python.cmake
)
include
(
cmake/python.cmake
)
...
...
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