You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2019/09/05 19:24:35 UTC
[incubator-datasketches-cpp] 01/01: specify c++11 for common_test
to avoid warnings
This is an automated email from the ASF dual-hosted git repository.
jmalkin pushed a commit to branch fix_warnings
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-cpp.git
commit 348697a529aa436d1ef1610d8064be1f06b0412a
Author: jmalkin <jm...@users.noreply.github.com>
AuthorDate: Thu Sep 5 12:24:10 2019 -0700
specify c++11 for common_test to avoid warnings
---
common/test/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/common/test/CMakeLists.txt b/common/test/CMakeLists.txt
index d4a5c26..bb5577f 100644
--- a/common/test/CMakeLists.txt
+++ b/common/test/CMakeLists.txt
@@ -19,6 +19,10 @@ add_library(common_test OBJECT "")
target_link_libraries(common_test ${CPPUNIT_LIBRARY})
+set_target_properties(common_test PROPERTIES
+ CXX_STANDARD 11
+ CXX_STANDARD_REQUIRED YES
+)
target_include_directories(common_test
PUBLIC
${CPPUNIT_INCLUDE_DIR}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org