--- src/examples/scripting/CMakeLists.txt.orig 2021-11-27 21:00:51 UTC +++ src/examples/scripting/CMakeLists.txt @@ -41,12 +41,12 @@ endif() add_executable(scripting_example ${SRC_FILES} ${HPP_FILES}) target_link_libraries(scripting_example RTTR::Core ChaiScript::ChaiScript ${CMAKE_DL_LIBS} Threads::Threads) -# chaiscript minimum C++ version is 14 +# chaiscript minimum C++ version is 17 set_target_properties(scripting_example PROPERTIES DEBUG_POSTFIX ${RTTR_DEBUG_POSTFIX} FOLDER "Examples" INSTALL_RPATH "${RTTR_EXECUTABLE_INSTALL_RPATH}" - CXX_STANDARD 14) + CXX_STANDARD 17) if (MSVC) target_compile_options(scripting_example PRIVATE /bigobj) endif()