forked from c_cpp/folly
26 lines
875 B
Diff
26 lines
875 B
Diff
From: Jan Engelhardt <ej@inai.de>
|
|
Date: 2025-10-07 18:02:43.480497231 +0200
|
|
|
|
```
|
|
#error <glog/vlog_is_on.h> was not included correctly. See the documentation
|
|
#for how to consume the library.
|
|
```
|
|
|
|
Workaround that.
|
|
---
|
|
CMakeLists.txt | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
Index: folly-2025.10.06.00/CMakeLists.txt
|
|
===================================================================
|
|
--- folly-2025.10.06.00.orig/CMakeLists.txt
|
|
+++ folly-2025.10.06.00/CMakeLists.txt
|
|
@@ -59,6 +59,7 @@ set(BIN_INSTALL_DIR bin CACHE STRING
|
|
set(CMAKE_INSTALL_DIR lib/cmake/folly CACHE STRING
|
|
"The subdirectory where CMake package config files should be installed")
|
|
|
|
+add_definitions(-DGLOG_USE_GLOG_EXPORT=1 -DGOOGLE_GLOG_IS_A_DLL=1)
|
|
option(BUILD_SHARED_LIBS
|
|
"If enabled, build folly as a shared library. \
|
|
This is generally discouraged, since folly does not commit to having \
|