From 1d44fa2b7e77883357e781c50a57e3e808ec28e4 Mon Sep 17 00:00:00 2001 From: abn Date: Fri, 4 Nov 2016 16:31:08 +0100 Subject: [PATCH] Minor bug fix: no Python should not install any Python script. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 213cfcf59..64bb785fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,7 +226,9 @@ IF(MEDCOUPLING_BUILD_DOC) ENDIF(MEDCOUPLING_BUILD_DOC) ADD_SUBDIRECTORY(resources) -ADD_SUBDIRECTORY(v8_work) +IF(MEDCOUPLING_ENABLE_PYTHON) + ADD_SUBDIRECTORY(v8_work) +ENDIF() # Configuration export # ==================== -- 2.39.2