cmake_minimum_required(VERSION 3.5)
project(cmoh CXX)


add_library(cmoh INTERFACE)
target_include_directories(cmoh INTERFACE
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    $<INSTALL_INTERFACE:include>
)



cmake_minimum_required(VERSION 3.5)
project(cmoh CXX)

# we require C++11
set(CMAKE_CXX_STANDARD 11)

add_library(cmoh INTERFACE)
target_include_directories(cmoh INTERFACE
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    $<INSTALL_INTERFACE:include>
)



Make clear we require C++11 in the main project file
Make clear we require C++11 in the main project file
