Mercurial > hg > orthanc-databases
comparison Resources/CMake/PostgreSQLConfiguration.cmake @ 5:9e5e7a8314e0
fix postgresql for msvc
author | jodogne |
---|---|
date | Thu, 05 Jul 2018 17:12:12 +0200 |
parents | 7cea966b6829 |
children | 714c5d2bee76 |
comparison
equal
deleted
inserted
replaced
4:7409bb3ef0f5 | 5:9e5e7a8314e0 |
---|---|
304 LIST(APPEND LIBPQ_SOURCES | 304 LIST(APPEND LIBPQ_SOURCES |
305 ${LIBPQ_SOURCES_DIR}/src/port/strlcpy.c | 305 ${LIBPQ_SOURCES_DIR}/src/port/strlcpy.c |
306 ) | 306 ) |
307 | 307 |
308 elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows") | 308 elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows") |
309 link_libraries(secur32) | |
310 | |
309 include_directories( | 311 include_directories( |
310 ${LIBPQ_SOURCES_DIR}/src/include/port/win32 | 312 ${LIBPQ_SOURCES_DIR}/src/include/port/win32 |
311 ${LIBPQ_SOURCES_DIR}/src/port | 313 ${LIBPQ_SOURCES_DIR}/src/port |
312 ) | 314 ) |
313 | 315 |