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
Stack Of Tasks
pinocchio
Commits
f867ba3d
Verified
Commit
f867ba3d
authored
Oct 16, 2019
by
Justin Carpentier
Browse files
cmake: fix variable name
PROJECT_SOURCE_DIR is not yet defined
parent
971c7467
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f867ba3d
...
...
@@ -15,7 +15,7 @@ SET(CXX_DISABLE_WERROR True)
SET
(
CMAKE_VERBOSE_MAKEFILE True
)
# Check if the submodule cmake have been initialized
IF
(
NOT EXISTS
"
${
PROJECT
_SOURCE_DIR
}
/cmake/base.cmake"
)
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
()
...
...
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