From 9aaafbef860f3dc8517b368178c5fffb5c8c7428 Mon Sep 17 00:00:00 2001 From: Kfir Itzhak Date: Sun, 6 Oct 2013 17:12:02 +0300 Subject: [PATCH] Added support for @PKGDATADIR@ in CMakeLists.txt --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index db0287b73..e87caf729 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -324,6 +324,7 @@ set(ZM_PID "${ZM_RUNDIR}/zm.pid") set(ZM_CONFIG "/${CMAKE_INSTALL_SYSCONFDIR}/zm.conf") set(VERSION "${ZoneMinder_VERSION}") set(PATH_BUILD "${PROJECT_SOURCE_DIR}") +set(PKGDATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/zoneminder") set(TIME_BUILD "1000000") # Don't have a solution for this one yet set(BINDIR "${CMAKE_INSTALL_FULL_BINDIR}") set(LIBDIR "${CMAKE_INSTALL_FULL_LIBDIR}")