Skip to content
Snippets Groups Projects
  1. Jul 30, 2020
  2. Jul 29, 2020
  3. Jul 28, 2020
    • Mike Gelfand's avatar
      FindCURL: Fix list index check after search · 0faedae3
      Mike Gelfand authored and Brad King's avatar Brad King committed
      Fix logic added by commit fc5afbe9 (FindCURL: support COMPONENTS to
      check features, 2018-11-28, v3.14.0-rc1~287^2~2).
      
      When searching for particular components and `curl-config` reports one of
      the components being searched for first in the list, `find_package` fails.
      This is due to the check that treats non-zero index in the list as success
      and zero index as failure, while documentation on `list(FIND)` states that
      failure to find an element results in return value of -1 (not 0). I'm
      hitting this when building cURL with support for HTTP and HTTPS protocols
      only, and then trying to `find_package(CURL COMPONENTS HTTP HTTPS)`.
      
      I'm using `if(NOT x EQUAL -1)` check form as it appears to be the most used
      throughout the modules.
      
      While fixing this issue I've looked through all the uses of `list(FIND)` in
      other modules but wasn't able to find improper use except here.
      0faedae3
    • Brad King's avatar
      Merge topic 'revert-add_test-special-chars' into release-3.18 · dde97681
      Brad King authored and Kitware Robot's avatar Kitware Robot committed
      
      5fc5f4d2 add_test: Revert "Allow special characters in test name"
      
      Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !5067
      dde97681
    • Brad King's avatar
      Merge topic 'sysroot-prefix' into release-3.18 · 825e19b8
      Brad King authored and Kitware Robot's avatar Kitware Robot committed
      
      e67d9c6e Compilers: Ignore -print-sysroot prefix when it is '/'
      
      Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !5066
      825e19b8
  4. Jul 27, 2020
  5. Jul 24, 2020
    • Nate Avers's avatar
      ExternalProject: omit --no-checkout from git clone when using git 2.20.x. · 8dbefc3c
      Nate Avers authored and Brad King's avatar Brad King committed
      The optimization from commit 627fc5b4 (ExternalProject: Avoid
      unnecessary checkout on clone, 2019-07-29, v3.16.0-rc1~325^2) triggers a
      bug in the Git 2.20.x series that is not in older or newer versions.
      Drop the optimization for that specific range of Git versions.
      
      Fixes: #21009
      8dbefc3c
    • Brad King's avatar
      Merge branch 'bootstrap-intel' into release-3.17 · e82bc594
      Brad King authored
      Merge-request: !5057
      e82bc594
    • Brad King's avatar
      bootstrap: Fix support for Intel compiler with modern GNU system compiler · 79646628
      Brad King authored
      On systems with older GNU system compilers, the Intel C++ compiler does
      not define `__cplusplus` to any version newer than C++11.  This
      prevented `bootstrap` from detecting that a given C++ standard flag has
      enabled C++17 mode in the compiler.  In commit 033a4b12 (bootstrap:
      Extend C++17 check for our cast functions, 2019-12-14,
      v3.17.0-rc1~291^2) we added a preprocessor condition to attempt to
      detect C++17 mode in the Intel compiler on such systems by looking
      for `__cpp_if_constexpr`.  However, on systems with a modern GNU
      system compiler, that definition is available even in C++11 mode.
      
      Switch to using `__cpp_deduction_guides` to detect C++17 mode for the
      Intel C++ compiler.  That seems to be defined exclusively in C++17 mode
      regardless of the version of the system compiler.
      
      Fixes: #21013
      79646628
    • Brad King's avatar
      FindXalanC: Fix version parsing for XalanC 1.12 · 4bf10241
      Brad King authored
      The version header now puts parentheses around the components.
      
      Fixes: #21010
      4bf10241
  6. Jul 23, 2020
  7. Jul 22, 2020
  8. Jul 21, 2020
Loading