From 9b2855a4d868731a2d4a1eb03b12d5c930c5c6d0 Mon Sep 17 00:00:00 2001
From: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Date: Sat, 16 Jun 2012 17:34:19 -0400
Subject: cmake: add support for SYSCONFDIR

Set with 'cmake -DSYSCONFDIR=target ...'

This fixes http://gnuradio.org/redmine/issues/492
---
 grc/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'grc')

diff --git a/grc/CMakeLists.txt b/grc/CMakeLists.txt
index f54aa4f809..219bbe1642 100644
--- a/grc/CMakeLists.txt
+++ b/grc/CMakeLists.txt
@@ -75,7 +75,7 @@ configure_file(
 
 install(
     FILES ${CMAKE_CURRENT_BINARY_DIR}/grc.conf
-    DESTINATION ${GR_PKG_CONF_DIR}
+    DESTINATION ${GR_PREFSDIR}
     COMPONENT "grc"
 )
 
-- 
cgit v1.2.3