summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorGravatar Isuru Fernando <isuruf@gmail.com>2022-09-02 04:04:37 -0500
committerGravatar GitHub <noreply@github.com>2022-09-02 04:04:37 -0500
commit09f4602cc8a22adb9dc81117754534261efe564f (patch)
treefeb67ee13df4df4ddad674fd1cb866249f495681 /CMake
parent4a1ccf16ed98c876bf1e1985afb080baeff5101f (diff)
Compile all dependencies of the DLL with ABSL_CONSUME_DLL
Diffstat (limited to 'CMake')
-rw-r--r--CMake/AbseilDll.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/AbseilDll.cmake b/CMake/AbseilDll.cmake
index 1b140b09..8992091b 100644
--- a/CMake/AbseilDll.cmake
+++ b/CMake/AbseilDll.cmake
@@ -546,6 +546,7 @@ function(absl_make_dll)
NOMINMAX
INTERFACE
${ABSL_CC_LIB_DEFINES}
+ ABSL_CONSUME_DLL
)
install(TARGETS abseil_dll EXPORT ${PROJECT_NAME}Targets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}