The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13951 ====================================================================== Reported By: ITF-EDV Fröschl GmbH Assigned To: ====================================================================== Project: CMake Issue ID: 13951 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-02-25 09:41 EST Last Modified: 2013-02-25 09:41 EST ====================================================================== Summary: InstallRequiredSystemLibraries.cmake can not find x64 in redist folder. Description: InstallRequiredSystemLibraries.cmake is checking
43: if(MSVC_VERSION GREATER 1599) # VS 10 and later: set(CMAKE_MSVC_ARCH x64) message(STATUS "MSVC_VERSION : ${MSVC_VERSION}") # Simple print out! ... But the simple message(STATUS "MSVC_VERSION : ${MSVC_VERSION}") print shows: -- MSVC_VERSION : 2008. The variable content is not 1599! Changing 1599 to 2008 would work for both, win32 (x86) or win64 (amd64) and the system related *.dlls will be copied as expected! Steps to Reproduce: 1. Include this lines in your Master CMakeLists.txt: set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE) include(InstallRequiredSystemLibraries) install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION bin COMPONENT thirdparty) 2. Create solution with "%ProgramFiles%\CMake 2.8\bin\cmake" %OUR_SRC_ROOT% -G "Visual Studio 9 2008 Win64" Additional Information: In our case we execute "%ProgramFiles%\CMake 2.8\bin\cmake" %OUR_SRC_ROOT% -G "Visual Studio 9 2008 Win64" from within a batch file. -- Create the intermediate folder F:\projects\itfedv\itfedv\batch\script\windows\..\..\..\..\intermediate\vs9\win64 -- Change into F:\projects\itfedv\itfedv\batch\script\windows\..\..\..\..\intermediate\vs9\win64 ... -- Creating VisualStudio 9 (2008) Win64 -- The C compiler identification is MSVC 15.0.30729.1 -- The CXX compiler identification is MSVC 15.0.30729.1 -- Check for working C compiler using: Visual Studio 9 2008 Win64 -- Check for working C compiler using: Visual Studio 9 2008 Win64 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler using: Visual Studio 9 2008 Win64 -- Check for working CXX compiler using: Visual Studio 9 2008 Win64 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - not found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done ... CMake Warning at C:/Programme/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:345 (message): system runtime library file does not exist: 'MSVC90_REDIST_DIR-NOTFOUND/x64/Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest' Call Stack (most recent call first): cmake/MyNSIS.cmake:9 (include) CMakeLists.txt:157 (include) CMake Warning at C:/Programme/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:345 (message): system runtime library file does not exist: 'MSVC90_REDIST_DIR-NOTFOUND/x64/Microsoft.VC90.CRT/msvcm90.dll' Call Stack (most recent call first): cmake/MyNSIS.cmake:9 (include) CMakeLists.txt:157 (include) CMake Warning at C:/Programme/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:345 (message): system runtime library file does not exist: 'MSVC90_REDIST_DIR-NOTFOUND/x64/Microsoft.VC90.CRT/msvcp90.dll' Call Stack (most recent call first): cmake/MyNSIS.cmake:9 (include) CMakeLists.txt:157 (include) CMake Warning at C:/Programme/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:345 (message): system runtime library file does not exist: 'MSVC90_REDIST_DIR-NOTFOUND/x64/Microsoft.VC90.CRT/msvcr90.dll' Call Stack (most recent call first): cmake/MyNSIS.cmake:9 (include) CMakeLists.txt:157 (include) ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-02-25 09:41 ITF-EDV Fröschl GmbHNew Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers