aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/lmk04828
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/lib/lmk04828')
-rw-r--r--mpm/lib/lmk04828/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/mpm/lib/lmk04828/CMakeLists.txt b/mpm/lib/lmk04828/CMakeLists.txt
index 4235cb34a..b3621034a 100644
--- a/mpm/lib/lmk04828/CMakeLists.txt
+++ b/mpm/lib/lmk04828/CMakeLists.txt
@@ -2,7 +2,9 @@ MACRO(ETTUS_PYTHON_GEN_SOURCE pyfile outfile)
#ensure that the directory exists for outfile
GET_FILENAME_COMPONENT(outfile_dir ${outfile} PATH)
FILE(MAKE_DIRECTORY ${outfile_dir})
-
+ IF(NOT PYTHON_EXECUTABLE)
+ MESSAGE( FATAL_ERROR "No python executable found to generate ic_regmaps!" )
+ ENDIF(NOT PYTHON_EXECUTABLE)
#make the outfile depend on the python script
ADD_CUSTOM_COMMAND(
OUTPUT ${outfile} DEPENDS ${pyfile} ${ETTUS_PYTHON_GEN_SOURCE_DEPS}