Verified Commit f867ba3d authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: fix variable name

PROJECT_SOURCE_DIR is not yet defined
parent 971c7467
......@@ -15,7 +15,7 @@ SET(CXX_DISABLE_WERROR 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 "\nPlease run the following command first:\ngit submodule update --init\n")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment