summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-12-28 13:58:17 +0300
committerKozlov Dmitry <dima@server>2010-12-28 13:58:17 +0300
commit2272565b8a45c8a3c35aa6b0cbe398b342155a35 (patch)
tree7e2b05826a629dccc77b20049f6dc05b1c71aa63
parente299571805aabb898b1297fd699b98f66e398876 (diff)
downloadaccel-ppp-2272565b8a45c8a3c35aa6b0cbe398b342155a35.tar.gz
accel-ppp-2272565b8a45c8a3c35aa6b0cbe398b342155a35.zip
updated build system
-rw-r--r--accel-pptpd/extra/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pptpd/extra/CMakeLists.txt b/accel-pptpd/extra/CMakeLists.txt
index 2b2d9509..5578e930 100644
--- a/accel-pptpd/extra/CMakeLists.txt
+++ b/accel-pptpd/extra/CMakeLists.txt
@@ -10,7 +10,8 @@ INSTALL(TARGETS pppd_compat ippool sigchld chap-secrets
IF (SHAPER)
ADD_LIBRARY(shaper_tbf SHARED shaper_tbf.c)
IF (LIBNL_PREFIX)
- SET_PROPERTY(TARGET shaper_tbf PROPERTY COMPILE_FLAGS "-I${LIBNL_PREFIX}/include -Wl,-L${LIBNL_PREFIX}/lib")
+ SET_PROPERTY(TARGET shaper_tbf PROPERTY COMPILE_FLAGS "-I${LIBNL_PREFIX}/include")
+ SET_PROPERTY(TARGET shaper_tbf PROPERTY LINK_FLAGS "-L${LIBNL_PREFIX}/lib")
ENDIF (LIBNL_PREFIX)
TARGET_LINK_LIBRARIES(shaper_tbf nl m)
INSTALL(TARGETS shaper_tbf LIBRARY DESTINATION lib/accel-pptp)