Skip to content

Commit

Permalink
CMake: Define APU_DSO_MODULE_BUILD when **building** DSO module to match
Browse files Browse the repository at this point in the history
NMake build.

git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.7.x@1920676 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Sep 15, 2024
1 parent 0737c1a commit 07f0c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ MACRO(ADD_APU_MODULE name dllname sources libraries)

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)
Expand Down

0 comments on commit 07f0c1f

Please sign in to comment.