From: Mathieu Malaterre Date: Wed, 28 Dec 2011 18:07:22 +0000 (+0000) Subject: Do not warn for VCExpress build X-Git-Tag: version.1.5~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d530d35024b1a833a0507d5a8a8e8075899487aa;p=openjpeg Do not warn for VCExpress build --- diff --git a/CMake/OpenJPEGCPack.cmake b/CMake/OpenJPEGCPack.cmake index e3cc5f4c..0e535e5e 100644 --- a/CMake/OpenJPEGCPack.cmake +++ b/CMake/OpenJPEGCPack.cmake @@ -3,6 +3,9 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") if(EXISTS "${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake") set(CMAKE_INSTALL_MFC_LIBRARIES 0) set(CMAKE_INSTALL_DEBUG_LIBRARIES 0) + if(NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS) + set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON) + endif() include(${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake) endif(EXISTS "${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake")