From 183de669f7a37991dbf6590531d25465ba68da57 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Mon, 23 May 2016 21:08:47 +0300 Subject: [PATCH] fix the cmake paths in the cmake build. --- fortune-mod/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fortune-mod/CMakeLists.txt b/fortune-mod/CMakeLists.txt index 5c429a3..dd6334f 100644 --- a/fortune-mod/CMakeLists.txt +++ b/fortune-mod/CMakeLists.txt @@ -86,10 +86,10 @@ SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}") SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) SET (WITH_TEST_SUITE CACHE BOOL "") -SET (LOCALDIR CACHE STRING "${CMAKE_INSTALL_PREFIX}/usr/local/share/games/fortunes") -SET (LOCALODIR CACHE STRING "${LOCALDIR}/off") -SET (COOKIEDIR CACHE STRING "${CMAKE_INSTALL_PREFIX}/usr/share/games/fortunes") -SET (OCOOKIEDIR CACHE STRING "${COOKIEDIR}/off") +SET (LOCALDIR "${CMAKE_INSTALL_PREFIX}/local/share/games/fortunes" CACHE STRING "LOCALDIR fortunes dir") +SET (LOCALODIR "${LOCALDIR}/off" CACHE STRING "offsensive fortunes localdir") +SET (COOKIEDIR "${CMAKE_INSTALL_PREFIX}/share/games/fortunes" CACHE STRING "cookie dir not under /usr/local") +SET (OCOOKIEDIR "${COOKIEDIR}/off" CACHE STRING "offensive cookie dir not under /usr/local") -- 2.40.0