Skip to content
Snippets Groups Projects
  1. Dec 17, 2015
  2. Dec 14, 2015
    • Nils Gladitz's avatar
      CPackWIX: Allow multiple patch files and diagnose if any are missing · de77d4a7
      Nils Gladitz authored
      CPACK_WIX_PATCH_FILE now accepts a list of patch files.
      An error will now be produced if any of the patch files is missing.
      
      Previously this would be silently ignored.
      de77d4a7
    • David Gobbi's avatar
      FindOpenGL: Don't add AGL to OPENGL_LIBRARIES on OS X. · 08580be2
      David Gobbi authored and Brad King's avatar Brad King committed
      CMake had been setting OPENGL_glu_LIBRARY to AGL.framework, even
      though AGL is not GLU.  AGL is simply the GL component for the
      deprecated Carbon framework.  GLU is provided by OpenGL.framework.
      
      A side effect of the old behavior was that if AGL was not found
      (it is absent from OS X SDK 10.10 or later), then OPENGL_GLU_FOUND
      would be incorrectly set to "NO".
      08580be2
  3. Dec 11, 2015
    • Sebastian Schuberth's avatar
      FindProtobuf: Set Protobuf_FOUND in addition to PROTOBUF_FOUND · 2908103d
      Sebastian Schuberth authored and Brad King's avatar Brad King committed
      All other modules use their module name (e.g. XxX for FindXxX.cmake) in
      find_package_handle_standard_args. Protobuf used all-caps, which triggers
      a bug when we try to find Protobuf with the CMakeFindDependencyMacro.cmake
      macro, which only checks for the mixed-case _FOUND.
      2908103d
    • Marc Chevrier's avatar
      AIX,HP-UX: Fix RPATH handling when CMP0065 is set to NEW · f254276f
      Marc Chevrier authored and Brad King's avatar Brad King committed
      The CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS setting has always been meant
      for flags needed to export symbols from executables for use by shared
      library plugins.  Since commit v3.4.0-rc1~58^2~1 (CMP0065: Restrict the
      use of CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS, 2015-08-24) this is made
      explicit by using the flags only for executables with ENABLE_EXPORTS,
      guarded by CMP0065 for compatibility.
      
      On some platforms we were accidentally using this setting to pass other
      flags to the linker:
      
      * AIX: -bnoipath, -brtl
      * HP-UX: +s, +nodefaultrpath
      
      These flags are incorrectly dropped when CMP0065 is set to NEW.  Fix
      this by moving the flags to more appropriate places for linking
      executables.
      f254276f
  4. Dec 10, 2015
  5. Dec 09, 2015
    • Chuck Atkins's avatar
      Cray: Refactor the Cray platform files to use compiler wrapper checks · a7ef0225
      Chuck Atkins authored and Brad King's avatar Brad King committed
      This is an extensive refactoring of the Cray compiler wrapper usage.
      Using the new compiler wrapper checks, the CrayPrgEnv info files have
      been moved from Platform/ to Compiler/.  The adjusted naming convention
      allows the compiler-wrapper information files to be loaded for both the
      CrayLinuxEnvironment platform when cross-compiling and the Linux
      platform if building natively on the Cray compute nodes.  It also
      creates a separation of common arguments for compiler id and language
      information used to perform the appropriate introspection of implicit
      arguments and libraries used by the compiler wrappers based on the
      loaded module environment.
      a7ef0225
  6. Dec 07, 2015
  7. Dec 04, 2015
  8. Dec 03, 2015
  9. Dec 02, 2015
    • Roger Leigh's avatar
      FindBoost: Add imported targets · 3f9b081f
      Roger Leigh authored and Brad King's avatar Brad King committed
      Targets include:
      
      - Boost::boost: Target for header-only dependencies
      - Boost::<C>: Target for specific component dependency
      - Boost::diagnostic_definitions: adds BOOST_LIB_DIAGNOSTIC
      - Boost::disable_autolinking: adds BOOST_ALL_NO_LIB
      - Boost::dynamic_linking: adds BOOST_ALL_DYN_LINK
      3f9b081f
    • Roger Leigh's avatar
      FindBoost: Automatically add missing component dependencies · 01c80acd
      Roger Leigh authored and Brad King's avatar Brad King committed
      The function _Boost_MISSING_DEPENDENCIES will look at the
      user-supplied component list, check the dependency
      information for each component using
      _Boost_COMPONENT_DEPENDENCIES, and will add any missing
      dependencies to the component list.  This ensures that
      all required components will be searched for.
      01c80acd
    • Roger Leigh's avatar
      FindBoost: Embed component dependency table · 5183c6e5
      Roger Leigh authored and Brad King's avatar Brad King committed
      The function _Boost_COMPONENT_DEPENDENCIES is used to query the
      library dependencies for a given component for a given version of
      Boost.  This covers Boost releases from 1.33 to 1.59, using the
      information generated by Utilities/Scripts/BoostScanDeps.cmake.
      5183c6e5
    • Simon Levermann's avatar
      CPack/DragNDrop: Allow single license for multiple languages · ae434ee2
      Simon Levermann authored and Brad King's avatar Brad King committed
      When both CPACK_DMG_SLA_DIR and CPACK_RESOURCE_FILE_LICENSE are defined,
      use the license file for all languages instead of looking for a license
      file for each language.  Also expand the documentation on the SLA
      variables.
      ae434ee2
  10. Nov 23, 2015
  11. Nov 19, 2015
    • Brad King's avatar
      Project: Guess default standard dialect if compiler was forced (#15852) · 441dba80
      Brad King authored
      Prior to commit v3.4.0-rc1~71^2 (Project: Determine default language
      dialect for the compiler, 2015-09-15) we always guessed the default
      language standard dialect based on the compiler version.  This was not
      reliable so that commit switched to computing the default language
      standard dialect while detecting the compiler id.
      
      When a toolchain file uses CMakeForceCompiler to set the compiler id
      then the detection does not occur.  Therefore commit v3.4.0-rc1~54^2
      (Project: Don't require computed default dialect if compiler was forced,
      2015-09-22) made the lack of detection an error only if the compiler was
      not forced.  However, this means that projects using CMakeForceCompiler
      no longer even get the guess that we had before so <LANG>_COMPILER does
      not work.
      
      Due to the sophistication of CMake's compiler detection logic projects
      should be ported away from using CMakeForceCompiler.  In the meantime,
      restore a guess of the default language standard dialect when the
      compiler is forced.
      441dba80
  12. Nov 18, 2015
  13. Nov 16, 2015
    • April Chin's avatar
      SunOS: Remove obsolete Studio compiler library directories · 6772913f
      April Chin authored and Brad King's avatar Brad King committed
      Our CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES setting is no longer needed
      because CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES is now populated with the
      actual implicit link directories for the current toolchain.  The old
      values we hard-coded in CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES are not
      relevant to modern toolchains, so simply drop them.
      
      Co-Author: Shawn Walker-Salas <shawn.walker@oracle.com>
      6772913f
  14. Nov 14, 2015
  15. Nov 13, 2015
  16. Nov 12, 2015
  17. Nov 09, 2015
Loading