Skip to content

Commit

Permalink
fix: Resolve jsoncpp header file not found error during RBE
Browse files Browse the repository at this point in the history
  • Loading branch information
chanfun-ren committed Aug 23, 2024
1 parent e5735b3 commit a22f289
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ if (NOT jsoncpp_POPULATED)
message(${jsoncpp_SOURCE_DIR})
message(${jsoncpp_BINARY_DIR})
endif ()
# set explicit paths(absolute path) for the include directories
target_include_directories(libninja PRIVATE ${jsoncpp_SOURCE_DIR}/include)
target_link_libraries(libninja PRIVATE jsoncpp_static)


Expand Down

0 comments on commit a22f289

Please sign in to comment.