Mercurial > hg > orthanc-authorization
changeset 144:64199dfdc86a
fixed handling of DefineSourceBasenameForTarget
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Dec 2023 21:53:25 +0100 |
parents | 98f22123512a |
children | 9a9be09b9a30 |
files | CMakeLists.txt |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Wed Dec 20 21:52:33 2023 +0100 +++ b/CMakeLists.txt Wed Dec 20 21:53:25 2023 +0100 @@ -171,7 +171,9 @@ ${PLUGIN_SOURCES} ) -DefineSourceBasenameForTarget(OrthancAuthorization) +if (COMMAND DefineSourceBasenameForTarget) + DefineSourceBasenameForTarget(OrthancAuthorization) +endif() add_dependencies(OrthancAuthorization AutogeneratedTarget)