Skip to content

Commit feeb14b

Browse files
authored
Enable Abseil install
1 parent e9b2be0 commit feeb14b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpp/cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3045,7 +3045,9 @@ function(build_absl)
30453045

30463046
prepare_fetchcontent()
30473047

3048-
set(ABSL_ENABLE_INSTALL OFF)
3048+
# We have to enable Abseil install to add Abseil targets to an export set.
3049+
# But we don't install Abseil by EXCLUDE_FROM_ALL.
3050+
set(ABSL_ENABLE_INSTALL ON)
30493051
fetchcontent_makeavailable(absl)
30503052

30513053
if(CMAKE_VERSION VERSION_LESS 3.28)

0 commit comments

Comments
 (0)