Skip to content

Commit 061e0e0

Browse files
committed
Try again
1 parent 532ee38 commit 061e0e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.10)
1+
cmake_minimum_required(VERSION 3.14)
22

33
project(pgvector VERSION 0.1.1 LANGUAGES CXX)
44

@@ -11,6 +11,7 @@ install(DIRECTORY "${CMAKE_SOURCE_DIR}/include/"
1111
include(CTest)
1212
set(CMAKE_CXX_STANDARD 17)
1313
add_executable(TestPqxx test/pqxx_test.cpp)
14+
find_package(PostgreSQL REQUIRED)
1415
find_package(libpqxx REQUIRED)
15-
target_link_libraries(TestPqxx PRIVATE pq pqxx)
16+
target_link_libraries(TestPqxx PRIVATE PostgreSQL::PostgreSQL pqxx)
1617
add_test(NAME TestPqxx COMMAND TestPqxx)

0 commit comments

Comments
 (0)