Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,107
    • Issues 4,107
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Issues
  • #17910
Closed
Open
Issue created Apr 12, 2018 by Roland Schulz@rolandschulzContributor

FindOpenMP broken in 3.11 for Intel compiler on Windows

!1481 (merged) added NO_DEFAULT_PATH. This commit should have only changed the first occurrence but not the 2nd which is only for Intel on Windows. In that case OpenMP_${LANG}_IMPLICIT_LINK_DIRS is empty because no verbose flag exists. Thus it doesn't work without using the default paths.

Steps to reproduce. CMakeLists.txt with:

find_package(OpenMP)

Run cmake as:

$ cmake -G Ninja -DCMAKE_C_COMPILER=icl -DCMAKE_CXX_COMPILER=icl .

Tested with Intel compiler 18u2.

Edited Apr 13, 2018 by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking