comparison OrthancFramework/Resources/CMake/OrthancFrameworkConfiguration.cmake @ 4649:e915102093de

New CMake option: "ORTHANC_LUA_VERSION" to use a specific version of system-wide Lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 30 Apr 2021 10:09:50 +0200
parents 3b4940bca158
children 0ad5736c8d62
comparison
equal deleted inserted replaced
4648:56315be75a92 4649:e915102093de
101 endif() 101 endif()
102 102
103 if (NOT ENABLE_LUA) 103 if (NOT ENABLE_LUA)
104 unset(USE_SYSTEM_LUA CACHE) 104 unset(USE_SYSTEM_LUA CACHE)
105 unset(ENABLE_LUA_MODULES CACHE) 105 unset(ENABLE_LUA_MODULES CACHE)
106 unset(ORTHANC_LUA_VERSION)
106 add_definitions(-DORTHANC_ENABLE_LUA=0) 107 add_definitions(-DORTHANC_ENABLE_LUA=0)
107 endif() 108 endif()
108 109
109 if (NOT ENABLE_PUGIXML) 110 if (NOT ENABLE_PUGIXML)
110 unset(USE_SYSTEM_PUGIXML CACHE) 111 unset(USE_SYSTEM_PUGIXML CACHE)