From: spo Date: Thu, 26 May 2016 14:09:39 +0000 (+0400) Subject: Remove SWIG_SCRIPTS X-Git-Tag: V_2.4.0~91^2~89 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=85170ad9626261d7b69128996fda47834519e44d;p=modules%2Fshaper.git Remove SWIG_SCRIPTS --- diff --git a/src/ModelHighAPI/CMakeLists.txt b/src/ModelHighAPI/CMakeLists.txt index fd5ab5be0..404e8f8a2 100644 --- a/src/ModelHighAPI/CMakeLists.txt +++ b/src/ModelHighAPI/CMakeLists.txt @@ -41,10 +41,6 @@ INCLUDE_DIRECTORIES( ${PROJECT_SOURCE_DIR}/src/ModelAPI ) -SET(SWIG_SCRIPTS - ${CMAKE_CURRENT_BINARY_DIR}/ModelHighAPI.py -) - SWIG_ADD_MODULE(ModelHighAPI python ModelHighAPI.i ${PROJECT_HEADERS}) SWIG_LINK_LIBRARIES(ModelHighAPI ${SWIG_LINK_LIBRARIES}) @@ -54,7 +50,7 @@ ENDIF(WIN32) INSTALL(TARGETS _ModelHighAPI DESTINATION ${SHAPER_INSTALL_SWIG}) INSTALL(TARGETS ModelHighAPI DESTINATION ${SHAPER_INSTALL_BIN}) -INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG}) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/ModelHighAPI.py DESTINATION ${SHAPER_INSTALL_SWIG}) # Tests