]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
Small fix of PYTHON_VERSION
authornge <nge>
Thu, 21 Feb 2013 14:41:07 +0000 (14:41 +0000)
committernge <nge>
Thu, 21 Feb 2013 14:41:07 +0000 (14:41 +0000)
src/Python/CMakeLists.txt

index 8e901b9eac6be1a1f3e0a49907bffdee11e58b18..3dd63d5e992711336cab2f659fea7c32b1856884 100644 (file)
@@ -31,7 +31,7 @@ SET_SOURCE_FILES_PROPERTIES(${SWIG_SRC_FILE} PROPERTIES CPLUSPLUS ON
 SWIG_ADD_MODULE(libbatch python ${SWIG_SRC_FILE})
 SWIG_LINK_LIBRARIES(libbatch batch ${PYTHON_LIBRARIES})
 
-SET(PYTHON_VERSION "{PYTHON_VERSION_MAJOR}.{PYTHON_VERSION_MINOR}")
+SET(PYTHON_VERSION "${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}")
 INSTALL(TARGETS ${SWIG_MODULE_libbatch_REAL_NAME} DESTINATION lib/python${PYTHON_VERSION}/site-packages)
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libbatch.py
         DESTINATION lib/python${PYTHON_VERSION}/site-packages)