Changeset 3890 in CLRX


Ignore:
Timestamp:
Mar 10, 2018, 5:25:09 PM (4 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Revert previous changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/CMakeLists.txt

    r3889 r3890  
    7474UNSET(CMAKE_REQUIRED_FLAGS)
    7575
    76 IF("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
    77     # FreeBSD support
    78     MESSAGE(STATUS "Add -stdlib=libc++ for FreeBSD")
    79     SET(CPP_STANDARD "-std=c++11 -stdlib=libc++")
    80 ELSE("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
    81     IF(HAVE_GNU11_FLAG AND HAVE_GNU11_IOSTREAM)
    82         SET(CPP_STANDARD "-std=gnu++11")
    83         SET(HAVE_GNU11 1)
    84     ELSE(HAVE_GNU11_FLAG AND HAVE_GNU11_IOSTREAM)
    85         SET(CPP_STANDARD "-std=c++11")
    86     ENDIF(HAVE_GNU11_FLAG AND HAVE_GNU11_IOSTREAM)
    87 ENDIF("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
     76IF(HAVE_GNU11_FLAG AND HAVE_GNU11_IOSTREAM)
     77    SET(CPP_STANDARD "-std=gnu++11")
     78    SET(HAVE_GNU11 1)
     79ELSE(HAVE_GNU11_FLAG AND HAVE_GNU11_IOSTREAM)
     80    SET(CPP_STANDARD "-std=c++11")
     81ENDIF(HAVE_GNU11_FLAG AND HAVE_GNU11_IOSTREAM)
    8882
    8983MESSAGE(STATUS "Use standard ${CPP_STANDARD} for ${CMAKE_CXX_COMPILER}")
Note: See TracChangeset for help on using the changeset viewer.