From d530d35024b1a833a0507d5a8a8e8075899487aa Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Wed, 28 Dec 2011 18:07:22 +0000 Subject: [PATCH] Do not warn for VCExpress build --- CMake/OpenJPEGCPack.cmake | 3 +++ 1 file changed, 3 insertions(+) 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")