]> SALOME platform Git repositories - modules/parametric.git/commitdiff
Salome HOME
Adaptation to new Python detection macro
authorRenaud Barate <renaud.barate@edf.fr>
Tue, 19 Feb 2013 08:14:40 +0000 (09:14 +0100)
committerRenaud Barate <renaud.barate@edf.fr>
Tue, 19 Feb 2013 08:14:40 +0000 (09:14 +0100)
CMakeLists.txt

index c08749d0815c60103bd4a27f7f11437317ec5fa4..b1f8b2aff4abd97e9deec5c76861a708c911f987 100644 (file)
@@ -42,7 +42,7 @@ FIND_PACKAGE(SalomePYQT4)
 SET(BINDIR bin/salome)
 SET(RESDIR share/salome/resources/parametric)
 SET(LIBDIR lib/salome)
-SET(PYTHONDIR lib/python${PYTHON_VERSION}/site-packages/salome)
+SET(PYTHONDIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/salome)
 SET(DOCDIR share/doc/salome/gui/PARAMETRIC)
 
 ADD_SUBDIRECTORY(idl)