svn commit: r1920676 - /apr/apr-util/branches/1.7.x/CMakeLists.txt

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <[email protected]>
Author: ivan
Date: Sun Sep 15 13:04:23 2024
New Revision: 1920676

URL: http://svn.apache.org/viewvc?rev=1920676&view=rev
Log:
CMake: Define APU_DSO_MODULE_BUILD when **building** DSO module to match
NMake build.

Modified:
    apr/apr-util/branches/1.7.x/CMakeLists.txt

Modified: apr/apr-util/branches/1.7.x/CMakeLists.txt
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/CMakeLists.txt?rev=1920676&r1=1920675&r2=1920676&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/CMakeLists.txt (original)
+++ apr/apr-util/branches/1.7.x/CMakeLists.txt Sun Sep 15 13:04:23 2024
@@ -274,7 +274,7 @@ MACRO(ADD_APU_MODULE name dllname source
 
     TARGET_SOURCES(${name} PRIVATE libaprutil.rc)
     TARGET_COMPILE_DEFINITIONS(${name}
-                               PRIVATE DLL_NAME=${dllname})
+                               PRIVATE DLL_NAME=${dllname} APU_DSO_MODULE_BUILD)
 
     TARGET_LINK_LIBRARIES(${name}
                           PRIVATE libaprutil-1 apr::libapr-1)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.