Mercurial > hg > orthanc-databases
changeset 332:2592c0e9b724
fix link on windows
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 11 Aug 2021 07:45:54 +0200 |
parents | 674bbb9d1c83 |
children | fad7c6156923 |
files | Resources/CMake/DatabasesFrameworkConfiguration.cmake |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/DatabasesFrameworkConfiguration.cmake Wed Aug 11 07:28:53 2021 +0200 +++ b/Resources/CMake/DatabasesFrameworkConfiguration.cmake Wed Aug 11 07:45:54 2021 +0200 @@ -183,7 +183,9 @@ ##################################################################### if (ENABLE_ODBC_BACKEND) - if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") + if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") + link_libraries(odbc32) + else() include(${CMAKE_CURRENT_LIST_DIR}/UnixOdbcConfiguration.cmake) endif()