summaryrefslogtreecommitdiff
path: root/accel-pppd/logs
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-12-26 02:15:05 +0400
committerKozlov Dmitry <xeb@mail.ru>2013-01-25 00:15:23 +0400
commitbea22e396766ff09ca43e6ddc143b0f1dd6c08bd (patch)
treee00f4cbc6ed0542fef8f3d8201a6b00854b437ec /accel-pppd/logs
parentafdce0b1537264067f7cbb2b0adb63b20dc5d9e7 (diff)
downloadaccel-ppp-bea22e396766ff09ca43e6ddc143b0f1dd6c08bd.tar.gz
accel-ppp-bea22e396766ff09ca43e6ddc143b0f1dd6c08bd.zip
cmake: use CMAKE_FIND_ROOT_PATH and LIB_SUFFIX
Diffstat (limited to 'accel-pppd/logs')
-rw-r--r--accel-pppd/logs/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/accel-pppd/logs/CMakeLists.txt b/accel-pppd/logs/CMakeLists.txt
index b10163f..b25cbe2 100644
--- a/accel-pppd/logs/CMakeLists.txt
+++ b/accel-pppd/logs/CMakeLists.txt
@@ -15,21 +15,21 @@ IF(LOG_FILE)
ADD_LIBRARY(log_file SHARED log_file.c)
TARGET_LINK_LIBRARIES(log_file rt)
INSTALL(TARGETS log_file
- LIBRARY DESTINATION lib/accel-ppp
+ LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp
)
ENDIF(LOG_FILE)
IF(LOG_TCP)
ADD_LIBRARY(log_tcp SHARED log_tcp.c)
INSTALL(TARGETS log_tcp
- LIBRARY DESTINATION lib/accel-ppp
+ LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp
)
ENDIF(LOG_TCP)
IF(LOG_SYSLOG)
ADD_LIBRARY(log_syslog SHARED log_syslog.c)
INSTALL(TARGETS log_syslog
- LIBRARY DESTINATION lib/accel-ppp
+ LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp
)
ENDIF(LOG_SYSLOG)
@@ -37,7 +37,7 @@ IF(LOG_PGSQL)
ADD_LIBRARY(log_pgsql SHARED log_pgsql.c)
TARGET_LINK_LIBRARIES(log_pgsql pq)
INSTALL(TARGETS log_pgsql
- LIBRARY DESTINATION lib/accel-ppp
+ LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp
)
ENDIF(LOG_PGSQL)