CMake issueshttps://gitlab.kitware.com/cmake/cmake/-/issues2017-11-08T08:59:56-05:00https://gitlab.kitware.com/cmake/cmake/-/issues/17421Warnings for IRSL with Intel 2018 compiler on Windows2017-11-08T08:59:56-05:00PelleWarnings for IRSL with Intel 2018 compiler on WindowsRunning Windows 7 64-bit, Intel Parallel Studio XE 2018, CMake 3.10-rc3.
`InstallRequiredSystemLibraries` works but emits warnings regarding missing files (these do not appear to exist for Intel 2018 compilers).
Related to !1121, cc @C...Running Windows 7 64-bit, Intel Parallel Studio XE 2018, CMake 3.10-rc3.
`InstallRequiredSystemLibraries` works but emits warnings regarding missing files (these do not appear to exist for Intel 2018 compilers).
Related to !1121, cc @ChrisTX
CMakeLists.txt:
```cmake
cmake_minimum_required(VERSION 3.10)
project(irsl-intel-test NONE)
enable_language (Fortran)
set(CPACK_GENERATOR "WIX")
set(CMAKE_INSTALL_OPENMP_LIBRARIES TRUE)
include(InstallRequiredSystemLibraries)
include(CPack)
```
Running in cmd.exe:
```
cd tmp
call "C:\Program Files (x86)\Intel\compilers_and_libraries\windows\bin\ipsxe-comp-vars.bat" intel64 vs2015
cmake -A x64 ..
cpack .
```
Output:
```
Intel(R) MPI Library 2018 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright (C) 2007-2017 Intel Corporation. All rights reserved.
Copyright (C) 1985-2017 Intel Corporation. All rights reserved.
Intel(R) Compiler 18.0 (package 124)
C:\tmp\tmp>cmake -A x64 ..
CMake Warning at C:/Program Files/CMake/share/cmake-3.10/Modules/InstallRequiredSystemLibraries.cmake:675 (message):
system runtime library file does not exist: 'C:/Program Files
(x86)/Intel/compilers_and_libraries_2018/windows/redist/intel64/compiler/irml'
Call Stack (most recent call first):
CMakeLists.txt:8 (include)
CMake Warning at C:/Program Files/CMake/share/cmake-3.10/Modules/InstallRequiredSystemLibraries.cmake:675 (message):
system runtime library file does not exist: 'C:/Program Files
(x86)/Intel/compilers_and_libraries_2018/windows/redist/intel64/compiler/irml_c'
Call Stack (most recent call first):
CMakeLists.txt:8 (include)
CMake Warning at C:/Program Files/CMake/share/cmake-3.10/Modules/InstallRequiredSystemLibraries.cmake:675 (message):
system runtime library file does not exist: 'C:/Program Files
(x86)/Intel/compilers_and_libraries_2018/windows/redist/intel64/compiler/1041'
Call Stack (most recent call first):
CMakeLists.txt:8 (include)
-- Configuring done
-- Generating done
-- Build files have been written to: C:/tmp/tmp
C:\tmp\tmp>cpack .
CPack: Create package using WIX
CPack: Install projects
CPack: - Install project: irsl-intel-test
CPack: Create package
CPack Warning: CPACK_WIX_UPGRADE_GUID implicitly set to 07084830-3705-4BFF-AE9F-E7BA1CE7FAF9 . Please refer to the documentation on how and why you mi
ght want to set this explicitly.
CPack: - package: C:/tmp/tmp/irsl-intel-test-0.1.1-win64.msi generated.
``3.10.0Christian PfeifferChristian Pfeiffer