From: Jean-Philippe ARGAUD Date: Wed, 29 Apr 2020 05:15:45 +0000 (+0200) Subject: Minor improvements for Windows X-Git-Tag: V9_5_0b~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9901af6e67c523a28725b25996942a33c1738cd6;p=modules%2Fadao.git Minor improvements for Windows --- diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt index d11c576..6b905a9 100644 --- a/bin/CMakeLists.txt +++ b/bin/CMakeLists.txt @@ -27,9 +27,14 @@ install( PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ DESTINATION ${ADAO_BIN} ) +IF(WIN32) + SET(SEP "\\;") +ELSE(WIN32) + SET(SEP ":") +ENDIF(WIN32) INSTALL( CODE "MACRO(GENERATE_EFICAS_CATA_FOR_ADAO PY_EXE_CATA ADAO_CATA_GEN_FILE OUTPUT_DIR CATA_ADD_PYTHONPATH) -set(ENV{PYTHONPATH} \${CATA_ADD_PYTHONPATH}:\$ENV{PYTHONPATH}) +set(ENV{PYTHONPATH} \${CATA_ADD_PYTHONPATH}${SEP}\$ENV{PYTHONPATH}) EXECUTE_PROCESS(COMMAND \${PY_EXE_CATA} \${ADAO_CATA_GEN_FILE} \${OUTPUT_DIR} ADAO_Cata_V0.py) ENDMACRO(GENERATE_EFICAS_CATA_FOR_ADAO)" )