From 6dc533983a2da344134c7134ceb2d0f6d5955057 Mon Sep 17 00:00:00 2001 From: barate Date: Fri, 1 Mar 2013 09:47:28 +0000 Subject: [PATCH] Fixes for libbatchConfig.cmake --- misc/libbatchConfig.cmake.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.39.2