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

cmake: check if the cmake module has been initialized

parent 83b453b5
......@@ -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 "\nPlease run the following command first:\ngit submodule update --init\n")
ENDIF()
INCLUDE(cmake/base.cmake)
INCLUDE(cmake/boost.cmake)
INCLUDE(cmake/python.cmake)
......
Supports Markdown
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