Commit 108b6946 authored by Jason Rhinelander's avatar Jason Rhinelander

add "--init" flag to cmake no-pybind error message

parent d0bae61e
...@@ -36,7 +36,7 @@ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -DERIS_DEBUG") ...@@ -36,7 +36,7 @@ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -DERIS_DEBUG")
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/pybind11/CMakeLists.txt") if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/pybind11/CMakeLists.txt")
add_subdirectory(pybind11) add_subdirectory(pybind11)
else() else()
message(FATAL_ERROR "pybind11/CMakeLists.txt does not exist; perhaps you need to run `git submodule update'?") message(FATAL_ERROR "pybind11/CMakeLists.txt does not exist; try running `git submodule update --init'")
endif() endif()
# Eigen: Move semantics were during 3.3 development, and backported in 3.2.7: # Eigen: Move semantics were during 3.3 development, and backported in 3.2.7:
......
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