Skip to content

Commit

Permalink
cmake lists attempt to wf
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Haslik authored and Jan Haslik committed May 23, 2024
1 parent 85fa0af commit c9fd250
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions search/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ set(CMAKE_CXX_STANDARD 17)
# Set the path to the mongo-cxx-driver source directory
set(MONGOCXX_DIR "${CMAKE_SOURCE_DIR}/mongo-cxx-driver")

message(${mongocxx_DIR})


set(mongocxx_DIR "${CMAKE_PREFIX_PATH}/mongocxx/share/cmake/mongocxx")

message(${mongocxx_DIR})


# Specify the path to the mongocxx and bsoncxx include directories
set(LIBMONGOCXX_INCLUDE_DIRS "${MONGOCXX_DIR}/src/mongocxx/include")
set(LIBBSONCXX_INCLUDE_DIRS "${MONGOCXX_DIR}/src/bsoncxx/include")
Expand Down

0 comments on commit c9fd250

Please sign in to comment.