Mercurial > hg > orthanc
changeset 4170:1657c8700974
better fix for CMP0058
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 01 Sep 2020 17:49:41 +0200 |
parents | e8005a58de16 |
children | 9a7491cae01a |
files | OrthancFramework/Resources/CMake/DcmtkConfiguration.cmake OrthancFramework/SharedLibrary/CMakeLists.txt OrthancServer/CMakeLists.txt |
diffstat | 3 files changed, 3 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/DcmtkConfiguration.cmake Tue Sep 01 14:22:15 2020 +0200 +++ b/OrthancFramework/Resources/CMake/DcmtkConfiguration.cmake Tue Sep 01 17:49:41 2020 +0200 @@ -169,16 +169,6 @@ DICTIONARY_PRIVATE ${DCMTK_SOURCES_DIR}/dcmdata/data/private.dic DICTIONARY_DICONDE ${DCMTK_SOURCES_DIR}/dcmdata/data/diconde.dic ) - - # Fix CMake Policy CMP0058 (related to ninja) by creating a phony - # target for files coming from downloaded packages - add_custom_command( - OUTPUT - ${DCMTK_SOURCES_DIR}/dcmdata/data/dicom.dic - ${DCMTK_SOURCES_DIR}/dcmdata/data/private.dic - ${DCMTK_SOURCES_DIR}/dcmdata/data/diconde.dic - COMMAND ${CMAKE_COMMAND} -E echo_append "" - ) else() set(DCMTK_USE_EMBEDDED_DICTIONARIES 0) endif()