Ignore:
Timestamp:
Feb 27, 2015, 8:08:05 AM (5 years ago)
Author:
cameron
Message:

Catch std::runtime_error and report; sanitize only on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/CMakeLists.txt

    r4516 r4522  
    251251
    252252SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3 -DNDEBUG")
    253 SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -g -fsanitize=address")
     253IF (${CMAKE_SYSTEM} MATCHES "Linux")
     254    SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -g -fsanitize=address")
     255ENDIF()
    254256
    255257add_test(
Note: See TracChangeset for help on using the changeset viewer.