Changeset 19217


Ignore:
Timestamp:
09/07/18 21:35:47 (6 years ago)
Author:
tbretz
Message:
Added a fix for clang with boost<1.60 (maybe only required for Ubuntu 16.04...?)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19216 r19217  
    201201         -DPACKAGE_BUGREPORT=\\\"${PACKAGE_BUGREPORT}\\\""
    202202         )
     203
     204IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND Boost_VERSION LESS 106000 AND NOT NO_BOOST_HACK)
     205    MESSAGE(STATUS "  BOOST_REGEX_NO_EXTERNAL_TEMPLATES")
     206    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_REGEX_NO_EXTERNAL_TEMPLATES=1")
     207ENDIF()
    203208
    204209#         -DBOOST_DISABLE_ASSERTS \
Note: See TracChangeset for help on using the changeset viewer.