Skip to content

Commit

Permalink
Check that the submodules were correctly pulled
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott MacVicar committed Feb 21, 2010
1 parent dd209e5 commit 44211ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -12,5 +12,9 @@ SET(CMAKE_MODULE_PATH "${HPHP_HOME}/CMake" ${CMAKE_MODULE_PATH})
include("${HPHP_HOME}/CMake/HPHPFunctions.cmake")
include(CheckFunctionExists)

IF(NOT EXISTS "src/third_party/libmbfl/mbfl/mbfilter.h")
message(FATAL_ERROR "Please setup the git submodule to pull dependencies")
ENDIF()

add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src)

0 comments on commit 44211ea

Please sign in to comment.