File tree Expand file tree Collapse file tree 9 files changed +9
-45
lines changed Expand file tree Collapse file tree 9 files changed +9
-45
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,7 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
26
26
if (BUILD_TESTING )
27
27
include (FetchContent )
28
28
29
- # for libpqxx
30
- set (CMAKE_CXX_FLAGS "-Wno-unknown-attributes" )
31
- set (SKIP_BUILD_TEST ON )
32
-
33
- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0 )
29
+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
34
30
FetchContent_MakeAvailable (libpqxx )
35
31
36
32
add_executable (test test /halfvec_test.cpp test /main.cpp test /pqxx_test.cpp test /sparsevec_test.cpp test /vector_test.cpp )
Original file line number Diff line number Diff line change @@ -4,13 +4,9 @@ project(example)
4
4
5
5
set (CMAKE_CXX_STANDARD 17 )
6
6
7
- # for libpqxx
8
- set (CMAKE_CXX_FLAGS "-Wno-unknown-attributes" )
9
- set (SKIP_BUILD_TEST ON )
10
-
11
7
include (FetchContent )
12
8
13
- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0 )
9
+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
14
10
FetchContent_MakeAvailable (libpqxx )
15
11
16
12
add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -4,15 +4,11 @@ project(example)
4
4
5
5
set (CMAKE_CXX_STANDARD 17 )
6
6
7
- # for libpqxx
8
- set (CMAKE_CXX_FLAGS "-Wno-unknown-attributes" )
9
- set (SKIP_BUILD_TEST ON )
10
-
11
7
include (FetchContent )
12
8
13
9
FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1 )
14
10
FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3 )
15
- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0 )
11
+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
16
12
FetchContent_MakeAvailable (cpr json libpqxx )
17
13
18
14
add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ project(example)
4
4
5
5
set (CMAKE_CXX_STANDARD 20 )
6
6
7
- # for libpqxx
8
- set (CMAKE_CXX_FLAGS "-Wno-unknown-attributes" )
9
- set (SKIP_BUILD_TEST ON )
10
-
11
7
include (FetchContent )
12
8
13
9
FetchContent_Declare (disco GIT_REPOSITORY https://github.com/ankane/disco-cpp.git GIT_TAG 458e69afca4303b72979ee90164d0f618f71e174 )
14
- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0 )
10
+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
15
11
FetchContent_MakeAvailable (disco libpqxx )
16
12
17
13
add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -4,15 +4,11 @@ project(example)
4
4
5
5
set (CMAKE_CXX_STANDARD 17 )
6
6
7
- # for libpqxx
8
- set (CMAKE_CXX_FLAGS "-Wno-unknown-attributes" )
9
- set (SKIP_BUILD_TEST ON )
10
-
11
7
include (FetchContent )
12
8
13
9
FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1 )
14
10
FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3 )
15
- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0 )
11
+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
16
12
FetchContent_MakeAvailable (cpr json libpqxx )
17
13
18
14
add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -4,13 +4,9 @@ project(example)
4
4
5
5
set (CMAKE_CXX_STANDARD 17 )
6
6
7
- # for libpqxx
8
- set (CMAKE_CXX_FLAGS "-Wno-unknown-attributes" )
9
- set (SKIP_BUILD_TEST ON )
10
-
11
7
include (FetchContent )
12
8
13
- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0 )
9
+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
14
10
FetchContent_MakeAvailable (libpqxx )
15
11
16
12
add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -4,15 +4,11 @@ project(example)
4
4
5
5
set (CMAKE_CXX_STANDARD 17 )
6
6
7
- # for libpqxx
8
- set (CMAKE_CXX_FLAGS "-Wno-unknown-attributes" )
9
- set (SKIP_BUILD_TEST ON )
10
-
11
7
include (FetchContent )
12
8
13
9
FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1 )
14
10
FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3 )
15
- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0 )
11
+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
16
12
FetchContent_MakeAvailable (cpr json libpqxx )
17
13
18
14
add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -4,16 +4,12 @@ project(example)
4
4
5
5
set (CMAKE_CXX_STANDARD 17 )
6
6
7
- # for libpqxx
8
- set (CMAKE_CXX_FLAGS "-Wno-unknown-attributes" )
9
- set (SKIP_BUILD_TEST ON )
10
-
11
7
find_package (RDKit REQUIRED )
12
8
find_package (Boost COMPONENTS iostreams serialization system REQUIRED )
13
9
14
10
include (FetchContent )
15
11
16
- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0 )
12
+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
17
13
FetchContent_MakeAvailable (libpqxx )
18
14
19
15
add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
Original file line number Diff line number Diff line change @@ -4,15 +4,11 @@ project(example)
4
4
5
5
set (CMAKE_CXX_STANDARD 17 )
6
6
7
- # for libpqxx
8
- set (CMAKE_CXX_FLAGS "-Wno-unknown-attributes" )
9
- set (SKIP_BUILD_TEST ON )
10
-
11
7
include (FetchContent )
12
8
13
9
FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1 )
14
10
FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3 )
15
- FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.0 )
11
+ FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
16
12
FetchContent_MakeAvailable (cpr json libpqxx )
17
13
18
14
add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector )
You can’t perform that action at this time.
0 commit comments