Skip to content

Commit 4792f1b

Browse files
simuthus-fbfacebook-github-bot
authored andcommitted
Fix GFLAGS_INCLUDE_DIR in CMake
Summary: Currently on latest CentOS 8 stream dev server, gflags rpm have an invalid path. fb303 will produce an invalid path in the installed cmake. Anyone using this fb303 will then fail to compile. Reviewed By: srikrishnagopu Differential Revision: D41073188 fbshipit-source-id: 6ad4f60391c9253be614acc5d091236bf87d4697
1 parent 4d097a7 commit 4792f1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/fbcode_builder/CMake/FindGflags.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ if (gflags_FOUND)
5050
# If gflags_INCLUDE_DIR does not actually exist, simply default it to
5151
# /usr/include on these systems.
5252
set(LIBGFLAGS_INCLUDE_DIR "/usr/include")
53+
set(GFLAGS_INCLUDE_DIR "/usr/include")
5354
endif()
5455
set(LIBGFLAGS_FOUND ${gflags_FOUND})
5556
# cmake module compat

0 commit comments

Comments
 (0)