Author: brane Date: Thu May 29 13:13:03 2025 New Revision: 1925932 URL: http://svn.apache.org/viewvc?rev=1925932&view=rev Log: * CMakeLists.txt: Adding -DAPR_DECLARE_STATIC and -DAPU_DECLARE_STATIC to the Windows build is no longer necessary, the FindAPR{Util} modules define those on the static targets.
Modified: serf/trunk/CMakeLists.txt Modified: serf/trunk/CMakeLists.txt URL: http://svn.apache.org/viewvc/serf/trunk/CMakeLists.txt?rev=1925932&r1=1925931&r2=1925932&view=diff ============================================================================== --- serf/trunk/CMakeLists.txt (original) +++ serf/trunk/CMakeLists.txt Thu May 29 13:13:03 2025 @@ -245,7 +245,6 @@ if(APR_STATIC) if(NOT APR_CONTAINS_APRUTIL) list(APPEND SERF_PUBLIC_TARGETS APR::APRUTIL_static) endif() - add_definitions("/DAPR_DECLARE_STATIC" "/DAPU_DECLARE_STATIC") else(SERF_WINDOWS) message(WARNING "option APR_STATIC is not implemented on this platform") endif(SERF_WINDOWS)