X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmopenjpeg%2Fcodec%2FCMakeLists.txt;h=4eb3b22f1e66f57b83e88c787658813993418e57;hb=cc530036b500260bf29411f917cff64394276f27;hp=00de4f365ee31426f368766a239b2eeb928999fc;hpb=ec305081aec2900d9698e71e179cca946412c73e;p=gdcm.git diff --git a/src/gdcmopenjpeg/codec/CMakeLists.txt b/src/gdcmopenjpeg/codec/CMakeLists.txt index 00de4f36..4eb3b22f 100644 --- a/src/gdcmopenjpeg/codec/CMakeLists.txt +++ b/src/gdcmopenjpeg/codec/CMakeLists.txt @@ -1,5 +1,11 @@ # Build the demo app, small examples + + if(COMMAND cmake_policy) + cmake_policy(SET CMP0003 NEW) + endif(COMMAND cmake_policy) + + # First thing define the common source: SET(common_SRCS convert.c