Skip to content

Commit 40523c1

Browse files
committed
Force make to stop if Python not found
1 parent 448fa9b commit 40523c1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ sources:
1616

1717
# What to install before the build
1818
before_install:
19+
- cmake --version
1920
# Domoticz needs the full history to be able to calculate the version string
2021
- git fetch --unshallow
2122
# OpenZWave

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ ENDIF(USE_BUILTIN_SQLITE)
6363

6464
option(USE_PYTHON_PLUGINS "Use Python Plugins" YES)
6565
IF(USE_PYTHON_PLUGINS)
66-
find_package(PythonLibs 3.4.0)
66+
find_package(PythonLibs 3.4.0 REQUIRED)
6767
IF(PYTHONLIBS_FOUND)
6868
MESSAGE(STATUS "Python3 includes found at: ${PYTHON_INCLUDE_PATH}")
6969
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH})

0 commit comments

Comments
 (0)