Skip to content

Commit b1cf615

Browse files
committed
fix(Abseil): handle static dependency on Windows
1 parent 3e46767 commit b1cf615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)