p9y: properly enforce C++11
authorMichael Wallner <mike@php.net>
Mon, 21 Dec 2020 13:00:47 +0000 (14:00 +0100)
committerMichael Wallner <mike@php.net>
Mon, 21 Dec 2020 13:00:47 +0000 (14:00 +0100)
src/p9y/CMakeLists.txt

index 9d953ad0fac8bcbc7e9d2d82caf56a35d10753dc..ec7ce8d16b4cfb6473199920206a9b372be33ab5 100644 (file)
@@ -9,6 +9,9 @@ add_library(p9y STATIC
     p9y.cpp
     )
 
+set_target_properties(p9y PROPERTIES
+    CXX_STANDARD ${CXX_STANDARD}
+    )
 target_include_directories(p9y PRIVATE
     .
     ${CMAKE_SOURCE_DIR}/include