Skip to content

Commit 3648ca1

Browse files
committed
added basic cmake interface
1 parent 8682ccf commit 3648ca1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CMakeLists.txt

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
2+
project(gtest_mpi CXX)
3+
4+
add_library(gtest_mpi INTERFACE)
5+
6+
target_include_directories(gtest_mpi INTERFACE include)
7+
8+
if(NOT (${CMAKE_VERSION} VERSION_LESS "3.8.2"))
9+
target_compile_features(gtest_mpi INTERFACE cxx_std_11)
10+
endif()

0 commit comments

Comments
 (0)