Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
B
benchmark
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • benchmark
  • Repository

Switch branch/tag
  • benchmark
  • cmake
  • AddCXXCompilerFlag.cmake
Find file
BlameHistoryPermalink
  • Kai Germaschewski's avatar
    fix cmake issue with referencing a non-existing function argument (#1118) · d882be1e
    Kai Germaschewski authored Apr 26, 2021
    according to https://cmake.org/cmake/help/latest/command/function.html,
    "Referencing to ARGV# arguments beyond ARGC have undefined behavior.",
    which I hit with cmake 3.19.7.
    
    This uses ARGC to check whether ARGV1 has been passed before referencing
    it.
    d882be1e
AddCXXCompilerFlag.cmake 2.9 KB
EditWeb IDE
×

Replace AddCXXCompilerFlag.cmake

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.