comparison CMakeLists.txt @ 160:e1dfab79c0f6

using WindowsResources.py from Orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 Mar 2024 13:31:42 +0100
parents 12f23fcf3ba6
children 66c43e0021c1
comparison
equal deleted inserted replaced
159:12f23fcf3ba6 160:e1dfab79c0f6
104 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") 104 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
105 link_libraries(rt) 105 link_libraries(rt)
106 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") 106 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
107 execute_process( 107 execute_process(
108 COMMAND 108 COMMAND
109 ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Resources/WindowsResources.py 109 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/../Resources/WindowsResources.py
110 ${ORTHANC_PLUGIN_VERSION} "OrthancAuthorization" OrthancAuthorization.dll "Advanced authorization plugin for Orthanc" 110 ${ORTHANC_PLUGIN_VERSION} "OrthancAuthorization" OrthancAuthorization.dll "Advanced authorization plugin for Orthanc"
111 ERROR_VARIABLE Failure 111 ERROR_VARIABLE Failure
112 OUTPUT_FILE ${AUTOGENERATED_DIR}/Version.rc 112 OUTPUT_FILE ${AUTOGENERATED_DIR}/Version.rc
113 ) 113 )
114 114