diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-06-08 10:48:18 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-06-08 10:48:18 (GMT) |
commit | 2a1e36acade3aff6ada0ed26633aa7be13687ed5 (patch) | |
tree | 998b7c1890b266f0c164e7279aa3fcef7c62f9cc | |
parent | 382c04f0549b637cbe501a0dc76b38f8a28d88aa (diff) | |
download | uscxml-2a1e36acade3aff6ada0ed26633aa7be13687ed5.zip uscxml-2a1e36acade3aff6ada0ed26633aa7be13687ed5.tar.gz uscxml-2a1e36acade3aff6ada0ed26633aa7be13687ed5.tar.bz2 |
Fixed chrono issues with gcc
-rw-r--r-- | test/CMakeLists.txt | 5 | ||||
-rw-r--r-- | test/src/test-performance.cpp | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 95c62b1..89962f9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -62,11 +62,6 @@ 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) diff --git a/test/src/test-performance.cpp b/test/src/test-performance.cpp index 8df740d..772c392 100644 --- a/test/src/test-performance.cpp +++ b/test/src/test-performance.cpp @@ -2,6 +2,7 @@ #include "uscxml/Interpreter.h" #include <sys/time.h> +#include <chrono> #include <iostream> using namespace uscxml; |