Skip to content

Commit

Permalink
fix service_template: fix checking existence of third_party/userver i…
Browse files Browse the repository at this point in the history
…n subdirectory fallback mode
  • Loading branch information
botanegg committed Jul 2, 2024
1 parent da2eae7 commit 6367ce5
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 @@ -10,7 +10,7 @@ if(NOT userver_FOUND) # Fallback to subdirectory usage
set(USERVER_FEATURE_GRPC_CHANNELZ OFF CACHE BOOL "" FORCE)
set(USERVER_FEATURE_REDIS_HI_MALLOC ON CACHE BOOL "" FORCE)

if (EXISTS third_party/userver)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/userver)
message(STATUS "Using userver framework from third_party/userver")
add_subdirectory(third_party/userver)
else()
Expand Down

0 comments on commit 6367ce5

Please sign in to comment.