Skip to content

Commit

Permalink
cmake: add message for uninitialized submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
fcastan committed Mar 10, 2015
1 parent 9a9d07e commit 5aa67ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ ENDIF(MOSEK_FOUND)

#- osi_clp (linear programming interface)
# ==============================================================================
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/dependencies/osi_clp/Clp)
message(FATAL_ERROR
"\n'osi_clp' submodule is missing, please update your repository:\n"
" > git submodule update -i\n")
endif()
ADD_SUBDIRECTORY(dependencies/osi_clp)
INCLUDE_DIRECTORIES(
./dependencies/osi_clp/CoinUtils/src/
Expand Down

0 comments on commit 5aa67ad

Please sign in to comment.