comparison PostgreSQL/CMakeLists.txt @ 152:063aa53b5917

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Jul 2020 08:54:32 +0200
parents 33467fb6aee8
children 23cf7def8e44
comparison
equal deleted inserted replaced
150:d9101318442d 152:063aa53b5917
24 24
25 25
26 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") 26 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
27 execute_process( 27 execute_process(
28 COMMAND 28 COMMAND
29 ${PYTHON_EXECUTABLE} ${ORTHANC_ROOT}/Resources/WindowsResources.py 29 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/Resources/WindowsResources.py
30 ${ORTHANC_PLUGIN_VERSION} "PostgreSQL storage area plugin" OrthancPostgreSQLStorage.dll 30 ${ORTHANC_PLUGIN_VERSION} "PostgreSQL storage area plugin" OrthancPostgreSQLStorage.dll
31 "PostgreSQL as a database back-end to Orthanc (storage area)" 31 "PostgreSQL as a database back-end to Orthanc (storage area)"
32 ERROR_VARIABLE Failure 32 ERROR_VARIABLE Failure
33 OUTPUT_FILE ${AUTOGENERATED_DIR}/StorageVersion.rc 33 OUTPUT_FILE ${AUTOGENERATED_DIR}/StorageVersion.rc
34 ) 34 )
37 message(FATAL_ERROR "Error while computing the version information: ${Failure}") 37 message(FATAL_ERROR "Error while computing the version information: ${Failure}")
38 endif() 38 endif()
39 39
40 execute_process( 40 execute_process(
41 COMMAND 41 COMMAND
42 ${PYTHON_EXECUTABLE} ${ORTHANC_ROOT}/Resources/WindowsResources.py 42 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/Resources/WindowsResources.py
43 ${ORTHANC_PLUGIN_VERSION} "PostgreSQL index plugin" OrthancPostgreSQLIndex.dll 43 ${ORTHANC_PLUGIN_VERSION} "PostgreSQL index plugin" OrthancPostgreSQLIndex.dll
44 "PostgreSQL as a database back-end to Orthanc (index)" 44 "PostgreSQL as a database back-end to Orthanc (index)"
45 ERROR_VARIABLE Failure 45 ERROR_VARIABLE Failure
46 OUTPUT_FILE ${AUTOGENERATED_DIR}/IndexVersion.rc 46 OUTPUT_FILE ${AUTOGENERATED_DIR}/IndexVersion.rc
47 ) 47 )