]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Remove SWIG_SCRIPTS
authorspo <sergey.pokhodenko@opencascade.com>
Thu, 26 May 2016 14:09:39 +0000 (18:09 +0400)
committerspo <sergey.pokhodenko@opencascade.com>
Fri, 17 Jun 2016 11:41:02 +0000 (14:41 +0300)
src/ModelHighAPI/CMakeLists.txt

index fd5ab5be01e25a135a1d43b2081637dfe5b59283..404e8f8a2d72b43b59c4819a05b7b8d65e79d45f 100644 (file)
@@ -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