diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-06-08 10:27:07 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-06-08 10:27:07 (GMT) |
commit | 382c04f0549b637cbe501a0dc76b38f8a28d88aa (patch) | |
tree | 18d6e84a509e0f2616d24eb4563b5c24bba6f0a0 | |
parent | 809c2b9021fb3e96b1db705938aeb16ba97b4e73 (diff) | |
download | uscxml-382c04f0549b637cbe501a0dc76b38f8a28d88aa.zip uscxml-382c04f0549b637cbe501a0dc76b38f8a28d88aa.tar.gz uscxml-382c04f0549b637cbe501a0dc76b38f8a28d88aa.tar.bz2 |
Fixed std::chrono issue with gcc
-rw-r--r-- | test/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 89962f9..95c62b1 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -62,6 +62,11 @@ endif() USCXML_TEST_COMPILE(NAME test-url LABEL general/test-url FILES src/test-url.cpp) USCXML_TEST_COMPILE(NAME test-utf8 LABEL general/test-utf8 FILES src/test-utf8.cpp) USCXML_TEST_COMPILE(BUILD_ONLY NAME test-performance LABEL general/test-performance FILES src/test-performance.cpp) + +# std::chrono not available otherwise with gcc +set_property(TARGET test-performance PROPERTY CXX_STANDARD 11) +set_property(TARGET test-performance PROPERTY CXX_STANDARD_REQUIRED ON) + USCXML_TEST_COMPILE(NAME test-lifecycle LABEL general/test-lifecycle FILES src/test-lifecycle.cpp) USCXML_TEST_COMPILE(NAME test-validating LABEL general/test-validating FILES src/test-validating.cpp) USCXML_TEST_COMPILE(NAME test-snippets LABEL general/test-snippets FILES src/test-snippets.cpp) |