diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-10-15 22:12:28 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-10-17 19:19:45 +0400 |
commit | ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202 (patch) | |
tree | d0071d27489056e4beea5e289e28d1d57dc516f1 /accel-pptpd/CMakeLists.txt | |
parent | d32cf13525153b9bb961a72cded215e9866e78bd (diff) | |
download | accel-ppp-ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202.tar.gz accel-ppp-ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202.zip |
added cpack interface to generate deb packages
Diffstat (limited to 'accel-pptpd/CMakeLists.txt')
-rw-r--r-- | accel-pptpd/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/CMakeLists.txt b/accel-pptpd/CMakeLists.txt index fb88d1b..adc1ab4 100644 --- a/accel-pptpd/CMakeLists.txt +++ b/accel-pptpd/CMakeLists.txt @@ -11,7 +11,7 @@ IF (NOT HAVE_SSL) MESSAGE(FATAL_ERROR "openssl headers not found") ENDIF (NOT HAVE_SSL) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fvisibility=hidden -D_GNU_SOURCE -DGCC_SPINLOCK -DMEMDEBUG") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fvisibility=hidden -D_GNU_SOURCE -DGCC_SPINLOCK -DMEMDEBUG -fPIC") INCLUDE_DIRECTORIES(include) @@ -59,7 +59,7 @@ INSTALL(TARGETS accel-pptpd RUNTIME DESTINATION usr/sbin ) -INSTALL(FILES accel-pptp.conf DESTINATION /etc) +INSTALL(FILES accel-pptp.conf DESTINATION etc) INSTALL(FILES accel-pptp.conf.5 DESTINATION usr/share/man/man5) INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/log/accel-pptp)") |