Skip to content

Commit

Permalink
postgres blues
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Sep 10, 2023
1 parent a16a0b8 commit 04baf0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ set(WITH_PGSQL
if(WITH_PGSQL)
# workaround CMake issue # 17223 (non-essential header lookup)
set(PostgreSQL_TYPE_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(CMAKE_FIND_DEBUG_MODE TRUE)
find_package(PostgreSQL REQUIRED)
set(CMAKE_FIND_DEBUG_MODE FALSE)
target_sources(sysbench PRIVATE drivers/pgsql/drv_pgsql.c)
target_compile_definitions(sysbench PRIVATE -DUSE_PGSQL)
target_link_libraries(sysbench PRIVATE PostgreSQL::PostgreSQL)
Expand Down

0 comments on commit 04baf0a

Please sign in to comment.