From: adam Date: Mon, 3 Aug 2009 15:14:21 +0000 (+0000) Subject: PYTHON_CPPFLAGS is used by yacs X-Git-Tag: V5_1_3rc1~95 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c0155604bc3b0f42d74346f5dd8b07346cac547a;p=modules%2Fkernel.git PYTHON_CPPFLAGS is used by yacs --- diff --git a/salome_adm/cmake_files/FindPYTHON.cmake b/salome_adm/cmake_files/FindPYTHON.cmake index a03b563a4..6c6768139 100644 --- a/salome_adm/cmake_files/FindPYTHON.cmake +++ b/salome_adm/cmake_files/FindPYTHON.cmake @@ -199,6 +199,7 @@ ENDIF(PYTHON_STATUS) # ---- IF(PYTHON_STATUS) + SET(PYTHON_CPPFLAGS ${PYTHON_INCLUDES}) ELSE(PYTHON_STATUS) IF(PYTHON_IS_MANDATORY) MESSAGE(FATAL_ERROR "python not found ... mandatory ... abort")