From: barate Date: Fri, 1 Mar 2013 09:47:28 +0000 (+0000) Subject: Fixes for libbatchConfig.cmake X-Git-Tag: V2_0_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6dc533983a2da344134c7134ceb2d0f6d5955057;p=tools%2Flibbatch.git Fixes for libbatchConfig.cmake --- diff --git a/misc/libbatchConfig.cmake.in b/misc/libbatchConfig.cmake.in index 3d1345a..c5914dd 100644 --- a/misc/libbatchConfig.cmake.in +++ b/misc/libbatchConfig.cmake.in @@ -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")