Skip to content

Commit 960824e

Browse files
authored
Merge pull request #71 from jcarpent/topic/travis
Improve compatibility with travis
2 parents 83b453b + 58d0641 commit 960824e

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414
- DO_COVERAGE_ON_BRANCH="master;release"
1515
- DO_CPPCHECK_ON_BRANCH=""
1616
- DO_INSTALL_DOC_EXCEPT_ON_BRANCH=""
17+
- BUILD_WITH_CATKIN_SUPPORT=false
1718

1819
jobs:
1920
include:

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
77

8+
# Check if the submodule cmake have been initialized
9+
IF(NOT EXISTS "${PROJECT_SOURCE_DIR}/cmake/base.cmake")
10+
MESSAGE(FATAL_ERROR "\nPlease run the following command first:\ngit submodule update --init\n")
11+
ENDIF()
12+
813
INCLUDE(cmake/base.cmake)
914
INCLUDE(cmake/boost.cmake)
1015
INCLUDE(cmake/python.cmake)

0 commit comments

Comments
 (0)