Skip to content

Commit

Permalink
build(cmake): Avoid overwriting rapidjson's include dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ditsuke committed Aug 27, 2023
1 parent 3c97ebe commit 60e7202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project("kafka-unit-test")
#---------------------------
if (DEFINED ENV{RAPIDJSON_INCLUDE_DIRS})
set(RAPIDJSON_INCLUDE_DIRS $ENV{RAPIDJSON_INCLUDE_DIRS})
else ()
elseif (NOT DEFINED RAPIDJSON_INCLUDE_DIRS)
find_file(RAPIDJSON_HEADER
NAMES rapidjson.h
HINTS /usr/include/rapidjson /usr/local/include/rapidjson /opt/homebrew/include/rapidjson)
Expand Down

0 comments on commit 60e7202

Please sign in to comment.