Mercurial > hg > orthanc-databases
comparison Resources/CMake/PostgreSQLConfiguration.cmake @ 103:9263b3de37ed
fix build on Debian Buster
author | jodogne |
---|---|
date | Tue, 22 Jan 2019 13:14:52 +0000 |
parents | 1bd538a5a783 |
children | 0a713ffdf842 |
comparison
equal
deleted
inserted
replaced
102:905bd21eb327 | 103:9263b3de37ed |
---|---|
374 endif() | 374 endif() |
375 | 375 |
376 source_group(ThirdParty\\PostgreSQL REGULAR_EXPRESSION ${LIBPQ_SOURCES_DIR}/.*) | 376 source_group(ThirdParty\\PostgreSQL REGULAR_EXPRESSION ${LIBPQ_SOURCES_DIR}/.*) |
377 | 377 |
378 else() | 378 else() |
379 include(${CMAKE_CURRENT_LIST_DIR}/FindPostgreSQL.cmake) | 379 include(FindPostgreSQL) |
380 include_directories( | 380 include_directories( |
381 ${PostgreSQL_INCLUDE_DIR} | 381 ${PostgreSQL_INCLUDE_DIR} |
382 ${PostgreSQL_TYPE_INCLUDE_DIR} | 382 ${PostgreSQL_TYPE_INCLUDE_DIR} |
383 ) | 383 ) |
384 link_libraries(${PostgreSQL_LIBRARY}) | 384 link_libraries(${PostgreSQL_LIBRARY}) |