Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A ADIOS2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 97
    • Issues 97
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Podhorszki, Norbert
  • ADIOS2
  • Merge requests
  • !2028

cmake: Do not enable languages on behalf of consumers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Podhorszki, Norbert requested to merge github/fork/bradking/cmake-package-no-enable-language into master Mar 09, 2020
  • Overview 8
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: bradking

Since #1176, our CMake package configuration file makes enable_language({C,CXX,Fortran}) calls on behalf applications using find_package(ADIOS2). This causes such applications to require a Fortran compiler even if they do not themselves use Fortran or link to any ADIOS2 Fortran binding libraries.

Remove the enable_language() calls from our package configuration file. Applications should enable whatever languages they are using. If any problem the enable_language() calls were addressing comes up again, we can consider other solutions. EDIT: Filter our own usage requirements to avoid referencing languages that are not enabled by the application.

Fixes: #1885

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/bradking/cmake-package-no-enable-language