Skip to content

Commit

Permalink
Better syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Jul 10, 2023
1 parent f3c6d24 commit 90be7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ add_subdirectory(third_party)
# once we can require cmake 3.27 (where CONFIG is default).
find_package(Protobuf QUIET CONFIG)
if(${Protobuf_FOUND})
set(PROTOBUF_LOADED_AS_CONFIG)
set(PROTOBUF_LOADED_AS_CONFIG ON)
else()
find_package(Protobuf REQUIRED)
include_directories(${Protobuf_INCLUDE_DIRS})
Expand Down

0 comments on commit 90be7d9

Please sign in to comment.