comparison PostgreSQL/CMakeLists.txt @ 179:9b500ad566c0 OrthancPostgreSQL-3.3

OrthancPostgreSQL-3.3
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 14 Dec 2020 15:55:55 +0100
parents 8c7bb94adff7
children 5e604adfd41f 3f4fa9ca637b
comparison
equal deleted inserted replaced
178:48aa43c14bb3 179:9b500ad566c0
1 cmake_minimum_required(VERSION 2.8) 1 cmake_minimum_required(VERSION 2.8)
2 project(OrthancPostgreSQL) 2 project(OrthancPostgreSQL)
3 3
4 set(ORTHANC_PLUGIN_VERSION "mainline") 4 set(ORTHANC_PLUGIN_VERSION "3.3")
5 5
6 set(ORTHANC_OPTIMAL_VERSION_MAJOR 1) 6 set(ORTHANC_OPTIMAL_VERSION_MAJOR 1)
7 set(ORTHANC_OPTIMAL_VERSION_MINOR 5) 7 set(ORTHANC_OPTIMAL_VERSION_MINOR 5)
8 set(ORTHANC_OPTIMAL_VERSION_REVISION 4) 8 set(ORTHANC_OPTIMAL_VERSION_REVISION 4)
9 9
10 if (ORTHANC_PLUGIN_VERSION STREQUAL "mainline") 10 if (ORTHANC_PLUGIN_VERSION STREQUAL "mainline")
11 set(ORTHANC_FRAMEWORK_VERSION "mainline") 11 set(ORTHANC_FRAMEWORK_VERSION "mainline")
12 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") 12 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg")
13 else() 13 else()
14 set(ORTHANC_FRAMEWORK_VERSION "${ORTHANC_OPTIMAL_VERSION_MAJOR}.${ORTHANC_OPTIMAL_VERSION_MINOR}.${ORTHANC_OPTIMAL_VERSION_REVISION}") 14 set(ORTHANC_FRAMEWORK_VERSION "1.8.1")
15 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web") 15 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web")
16 endif() 16 endif()
17 17
18 set(ENABLE_SSL ON) 18 set(ENABLE_SSL ON)
19 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesPluginParameters.cmake) 19 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesPluginParameters.cmake)