1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-31 07:53:02 +04:00

Formally set version and testing to C++ 11

This commit is contained in:
Lee Thomason
2026-05-23 17:55:51 -07:00
parent 8224e427b6
commit 96a2dd3a43
5 changed files with 208 additions and 206 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ set(CMAKE_VISIBILITY_INLINES_HIDDEN YES)
add_library(tinyxml2 tinyxml2.cpp tinyxml2.h)
add_library(tinyxml2::tinyxml2 ALIAS tinyxml2)
# Uncomment the following line to require C++11 (or greater) to use tinyxml2
# target_compile_features(tinyxml2 PUBLIC cxx_std_11)
# Require C++11 (or greater) to use tinyxml2
target_compile_features(tinyxml2 PUBLIC cxx_std_11)
target_include_directories(tinyxml2 PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>")
target_compile_definitions(