Skip to content

Commit 4d23f66

Browse files
committed
Fix compatibility with pqxx 6.x
1 parent a4648ae commit 4d23f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ else(MYSQL_FOUND)
292292
endif(MYSQL_FOUND)
293293

294294
if(PQXX_FOUND)
295-
add_definitions(-DWITH_PQXX)
295+
add_definitions(-DWITH_PQXX -DPQXX_HIDE_EXP_OPTIONAL)
296296
include_directories(${PQXX_INCLUDE_DIR})
297297
message("PostgreSQL : yes")
298298
else(PQXX_FOUND)

0 commit comments

Comments
 (0)