Skip to content
Snippets Groups Projects
Commit 8a988d1f authored by BaM's avatar BaM
Browse files

remove CMakelist modif

parent 9a6565dd
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,6 @@ find_package(Threads REQUIRED)
# Enable ExternalProject CMake module
include(ExternalProject)
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()
# Download and install GoogleTest
ExternalProject_Add(
gtest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment