diff options
-rw-r--r-- | accel-pptpd/extra/CMakeLists.txt | 3 |
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) |