From: abn Date: Fri, 4 Nov 2016 15:31:08 +0000 (+0100) Subject: Minor bug fix: no Python should not install any Python script. X-Git-Tag: V8_2_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1d44fa2b7e77883357e781c50a57e3e808ec28e4;p=tools%2Fmedcoupling.git Minor bug fix: no Python should not install any Python script. --- 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 # ====================