Skip to content

Commit 2b73021

Browse files
authored
Merge pull request #1202 from Geode-solutions/fix/abseil-static-windows
fix(Abseil): handle static dependency on Windows
2 parents 3e46767 + b1cf615 commit 2b73021

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geode/basic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,6 @@ add_geode_library(
118118
spdlog::spdlog_header_only
119119
MINIZIP::minizip-ng
120120
)
121-
if(WIN32)
121+
if(WIN32 AND BUILD_SHARED_LIBS)
122122
target_link_libraries(basic PUBLIC absl::abseil_dll)
123123
endif()

0 commit comments

Comments
 (0)