Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed May 16, 2024
1 parent d792eca commit 6996b04
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions compiler/extensions/cpp/runtime/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ cmake_minimum_required(VERSION 3.15.0)

project(ZserioCppRuntime)

if ("${CMAKE_CXX_STANDARD}" STREQUAL "98")
message(FATAL_ERROR "C++98 standard is not supported, please set CMAKE_CXX_STANDARD at least to C++11!")
endif ()

set(ZSERIO_CPP_RUNTIME_LIB_SRCS
zserio/pmr/AnyHolder.h
zserio/pmr/ArrayTraits.h
Expand Down Expand Up @@ -115,4 +111,6 @@ set(ZSERIO_CPP_RUNTIME_LIB_SRCS

add_library(${PROJECT_NAME} STATIC ${ZSERIO_CPP_RUNTIME_LIB_SRCS})

target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)

target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

0 comments on commit 6996b04

Please sign in to comment.