File tree Expand file tree Collapse file tree 7 files changed +21
-14
lines changed Expand file tree Collapse file tree 7 files changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git GI
1515FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0)
1616FetchContent_MakeAvailable(cpr json libpqxx)
1717
18+ add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
19+
1820add_executable (example example.cpp)
19- target_include_directories (example PRIVATE ${CMAKE_SOURCE_DIR} /../../include )
20- target_link_libraries (example PRIVATE cpr::cpr libpqxx::pqxx nlohmann_json::nlohmann_json)
21+ target_link_libraries (example PRIVATE cpr::cpr libpqxx::pqxx nlohmann_json::nlohmann_json pgvector::pgvector)
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ FetchContent_Declare(disco GIT_REPOSITORY https://github.com/ankane/disco-cpp.gi
1414FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0)
1515FetchContent_MakeAvailable(disco libpqxx)
1616
17+ add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
18+
1719add_executable (example example.cpp)
18- target_include_directories (example PRIVATE ${CMAKE_SOURCE_DIR} /../../include )
19- target_link_libraries (example PRIVATE disco::disco libpqxx::pqxx)
20+ target_link_libraries (example PRIVATE disco::disco libpqxx::pqxx pgvector::pgvector)
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git GI
1515FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0)
1616FetchContent_MakeAvailable(cpr json libpqxx)
1717
18+ add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
19+
1820add_executable (example example.cpp)
19- target_include_directories (example PRIVATE ${CMAKE_SOURCE_DIR} /../../include )
20- target_link_libraries (example PRIVATE cpr::cpr libpqxx::pqxx nlohmann_json::nlohmann_json)
21+ target_link_libraries (example PRIVATE cpr::cpr libpqxx::pqxx nlohmann_json::nlohmann_json pgvector::pgvector)
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ include(FetchContent)
1313FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0)
1414FetchContent_MakeAvailable(libpqxx)
1515
16+ add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
17+
1618add_executable (example example.cpp)
17- target_include_directories (example PRIVATE ${CMAKE_SOURCE_DIR} /../../include )
18- target_link_libraries (example PRIVATE libpqxx::pqxx)
19+ target_link_libraries (example PRIVATE libpqxx::pqxx pgvector::pgvector)
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git GI
1515FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0)
1616FetchContent_MakeAvailable(cpr json libpqxx)
1717
18+ add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
19+
1820add_executable (example example.cpp)
19- target_include_directories (example PRIVATE ${CMAKE_SOURCE_DIR} /../../include )
20- target_link_libraries (example PRIVATE cpr::cpr libpqxx::pqxx nlohmann_json::nlohmann_json)
21+ target_link_libraries (example PRIVATE cpr::cpr libpqxx::pqxx nlohmann_json::nlohmann_json pgvector::pgvector)
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ include(FetchContent)
1616FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0)
1717FetchContent_MakeAvailable(libpqxx)
1818
19+ add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
20+
1921add_executable (example example.cpp)
20- target_include_directories (example PRIVATE ${CMAKE_SOURCE_DIR} /../../include )
21- target_link_libraries (example PRIVATE libpqxx::pqxx RDKit::Fingerprints RDKit::SmilesParse)
22+ target_link_libraries (example PRIVATE libpqxx::pqxx pgvector::pgvector RDKit::Fingerprints RDKit::SmilesParse)
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git GI
1515FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0)
1616FetchContent_MakeAvailable(cpr json libpqxx)
1717
18+ add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
19+
1820add_executable (example example.cpp)
19- target_include_directories (example PRIVATE ${CMAKE_SOURCE_DIR} /../../include )
20- target_link_libraries (example PRIVATE cpr::cpr libpqxx::pqxx nlohmann_json::nlohmann_json)
21+ target_link_libraries (example PRIVATE cpr::cpr libpqxx::pqxx nlohmann_json::nlohmann_json pgvector::pgvector)
You can’t perform that action at this time.
0 commit comments