]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
Fixes for libbatchConfig.cmake
authorbarate <barate>
Fri, 1 Mar 2013 09:47:28 +0000 (09:47 +0000)
committerbarate <barate>
Fri, 1 Mar 2013 09:47:28 +0000 (09:47 +0000)
misc/libbatchConfig.cmake.in

index 3d1345a59a6fcacb14363da5ae289bc95e2e8f6f..c5914dd2a6b6ed3a7b267cd7822f9ac2cd2a2c73 100644 (file)
@@ -22,7 +22,7 @@
 
 get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
 get_filename_component(LIBBATCH_ROOT_DIR "${SELF_DIR}/.." ABSOLUTE)
-set(LIBBATCH_INCLUDE_DIRS "${LIBBATCH_ROOT_DIR}/include/libbatch")
+set(LIBBATCH_INCLUDE_DIRS "${LIBBATCH_ROOT_DIR}/include")
 set(LIBBATCH_LIBRARIES "${LIBBATCH_ROOT_DIR}/lib/@LIBBATCH_REAL_NAME@")
 set(LIBBATCH_RUNTIME_LIBRARY_DIRS "${LIBBATCH_ROOT_DIR}/lib")
-set(LIBBATCH_PYTHONPATH "${LIBBATCH_ROOT_DIR}/lib/python@PYTHON_VERSION@/site-packages")
+set(LIBBATCH_PYTHONPATH "${LIBBATCH_ROOT_DIR}/lib/python@PYTHON_VERSION_MAJOR@.@PYTHON_VERSION_MINOR@/site-packages")