Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
eigenpy
Commits
dea9d25b
Verified
Commit
dea9d25b
authored
Jul 12, 2019
by
Justin Carpentier
Browse files
cmake: check if the cmake module has been initialized
parent
83b453b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
dea9d25b
...
...
@@ -5,6 +5,11 @@
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.6
)
# Check if the submodule cmake have been initialized
IF
(
NOT EXISTS
"
${
PROJECT_SOURCE_DIR
}
/cmake/base.cmake"
)
MESSAGE
(
FATAL_ERROR
"
\n
Please run the following command first:
\n
git submodule update --init
\n
"
)
ENDIF
()
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/boost.cmake
)
INCLUDE
(
cmake/python.cmake
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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