From 1d0ff54794b5edea7cdf1d2d66710a0fa885bcc5 Mon Sep 17 00:00:00 2001 From: Teus Benschop Date: Sun, 28 Oct 2018 11:51:26 +0100 Subject: New upstream version 1.8.1 --- cmake/options.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmake/options.cmake') diff --git a/cmake/options.cmake b/cmake/options.cmake index 4ca7b19..81981c8 100644 --- a/cmake/options.cmake +++ b/cmake/options.cmake @@ -22,9 +22,6 @@ macro(_SET_FANCY _var _value _comment) endif() endmacro(_SET_FANCY) -# A list of the options that the library supports -SET(SWORD_PYTHON_INSTALL_DIR "" CACHE STRING "Directory where the Python bindings will be installed. Defaults to default Python path.") - # Installation options IF(APPLE) SET(SWORD_INSTALL_DIR "/opt/local") @@ -34,6 +31,7 @@ ELSE(APPLE) SET(SWORD_INSTALL_DIR "/usr/local") ENDIF(APPLE) +# A list of the options that the library supports _SET_FANCY(CMAKE_INSTALL_PREFIX "${SWORD_INSTALL_DIR}" "Directory into which to install architecture-dependent files. Defaults to ${SWORD_INSTALL_DIR}.") _SET_FANCY(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib" "Object code library install directory. Defaults to ${SWORD_INSTALL_DIR}/lib") @@ -46,6 +44,8 @@ _SET_FANCY(SYSCONF_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/etc" "Directory to insta _SET_FANCY(SHARE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/share" "Directory to install global data files. Defaults to ${SWORD_INSTALL_DIR}/share.") +_SET_FANCY(SWORD_PYTHON_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}" CACHE STRING "Directory where the Python bindings will be installed. Defaults to default Python path.") + # Post-processing of variables MACRO(PROCESS_VERSION LEVEL VALUE) SET(SWORD_VERSION_${LEVEL} ${VALUE}) -- cgit v1.2.3