File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,12 @@ if(ARCTICDB_SANITIZER_FLAGS)
7474 message (STATUS "Building ArcticDB with sanitizers. Compiler flags: ${ARCTICDB_SANITIZER_FLAGS} " )
7575endif ()
7676
77+ if (${ARCTICDB_USING_CONDA} )
78+ # Required to be able to include headers from glog since glog 0.7
79+ # See: https://github.com/google/glog/pull/1030
80+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGLOG_USE_GLOG_EXPORT" )
81+ endif ()
82+
7783if (WIN32 )
7884 add_compile_definitions (
7985 NOGDI WIN32_LEAN_AND_MEAN HAVE_SNPRINTF NOMINMAX
@@ -96,9 +102,7 @@ if(WIN32)
96102 endif ()
97103else ()
98104 if (${ARCTICDB_USING_CONDA} )
99- # Required to be able to include headers from glog since glog 0.7
100- # See: https://github.com/google/glog/pull/1030
101- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra -DGLOG_USE_GLOG_EXPORT" )
105+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra" )
102106 else ()
103107 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" )
104108 endif ()
You can’t perform that action at this time.
0 commit comments