Skip to content

Commit

Permalink
Applied -DGLOG_USE_GLOG_EXPORT to all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Mar 13, 2024
1 parent 6b123b0 commit e440685
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ include(${TOOLS}/cmake-scripts/def-external-project.cmake)
include_directories(${DEPS_INCLUDE_DIR})
link_directories(${DEPS_LIB_DIR})

# This is because of some new features of glog 0.7.0
add_definitions(-DGLOG_USE_GLOG_EXPORT)

set(IS_MSYS OFF)
if(MSVC)
set(OSTYPE_TXT "Windows")
Expand Down Expand Up @@ -216,8 +219,6 @@ if ("${OSTYPE_TXT}" MATCHES "msys")
add_dependencies(_LIBARCHIVE ${LIBUTFCPP_PRJ})
find_library(WINSOCK ws2_32 REQUIRED)
message(STATUS "Using winsock2 at ${WINSOCK}")
# This is because of some new features of glog 0.7.0
add_definitions(-DGLOG_USE_GLOG_EXPORT)

if (NOT NO_PATCH)
set(PATCH_FOLLY ON)
Expand Down

0 comments on commit e440685

Please sign in to comment.