enable cmake tests
This commit is contained in:
parent
2a7dd9aa83
commit
c15b9a7334
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ project(multi_array)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -std=c++11 --pedantic")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -std=c++11 --pedantic")
|
||||||
|
|
||||||
|
enable_testing()
|
||||||
|
|
||||||
find_package( GTest REQUIRED )
|
find_package( GTest REQUIRED )
|
||||||
if(GTest_FOUND)
|
if(GTest_FOUND)
|
||||||
include_directories(${GTEST_INCLUDE_DIRS})
|
include_directories(${GTEST_INCLUDE_DIRS})
|
||||||
|
|
Loading…
Reference in a new issue