Skip to content

Commit

Permalink
this is clean
Browse files Browse the repository at this point in the history
  • Loading branch information
bam241 committed Apr 8, 2020
1 parent 8332b18 commit b4b3029
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions cmake/DAGMC_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,8 @@ endmacro ()

macro (dagmc_setup_flags)
message("")

set(CMAKE_CXX_STANDARD 11)
# check for and enable c++11 support
#INCLUDE(CheckCXXCompilerFlag)
#CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
#IF(COMPILER_SUPPORTS_CXX11)
# SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
#ELSE()
# MESSAGE(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.")
#ENDIF()

set(CMAKE_CXX_STANDARD 11)

if (BUILD_PIC)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
Expand Down

0 comments on commit b4b3029

Please sign in to comment.