diff options
author | npmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56> | 2010-01-22 15:17:18 +0000 |
---|---|---|
committer | npmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56> | 2010-01-22 15:17:18 +0000 |
commit | dbba1b1c9933b0d2b2dfc45df8f17479d8355ebd (patch) | |
tree | 4896886ae2e4a7a8b47b3a221219432263d72610 /libproxy/CMakeLists.txt | |
parent | 788770a26f92a087425cb6c8bc43d94ae96a2721 (diff) | |
download | libproxy-dbba1b1c9933b0d2b2dfc45df8f17479d8355ebd.tar.gz |
remove -g option from specific builds (its a global option now)
git-svn-id: http://libproxy.googlecode.com/svn/trunk@488 c587cffe-e639-0410-9787-d7902ae8ed56
Diffstat (limited to 'libproxy/CMakeLists.txt')
-rw-r--r-- | libproxy/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libproxy/CMakeLists.txt b/libproxy/CMakeLists.txt index 9b2fa07..6263ef5 100644 --- a/libproxy/CMakeLists.txt +++ b/libproxy/CMakeLists.txt @@ -27,7 +27,7 @@ function(px_module name condition) add_library(${name} MODULE modules/${name}.cpp) set_property(SOURCE modules/${name}.cpp PROPERTY COMPILE_DEFINITIONS SYSCONFDIR="/etc/";LIBEXECDIR="${libexecdir}") target_link_libraries(${name} libproxy) - set_target_properties(${name} PROPERTIES PREFIX "" COMPILE_FLAGS -g) + set_target_properties(${name} PROPERTIES PREFIX "") install(TARGETS ${name} LIBRARY DESTINATION ${rmoduledir}) if(${ARGC} GREATER 2) target_link_libraries(${name} ${ARGN}) @@ -120,6 +120,6 @@ add_library(libproxy SHARED ${lpSOURCES}) target_link_libraries(libproxy ${lpLIBRARIES}) set_property(SOURCE proxy.cpp PROPERTY COMPILE_DEFINITIONS SYSCONFDIR="/etc/";MODULEDIR="${moduledir}") set_property(SOURCE module_manager.cpp PROPERTY COMPILE_DEFINITIONS BUILTIN_MODULES=${BUILTIN_MODULES}) -set_target_properties(libproxy PROPERTIES PREFIX "" COMPILE_FLAGS -g VERSION 0 SOVERSION 0.0.0) +set_target_properties(libproxy PROPERTIES PREFIX "" VERSION 0 SOVERSION 0.0.0) install(TARGETS libproxy DESTINATION ${rlibdir}) install(FILES proxy.h DESTINATION ${rincludedir}) |