From fdc5572072b904be4fd58ca88f7af791a080f745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m=20=3A=20Available=20for=20new=20Engi?= =?UTF-8?q?neering=20Leadership=20and=20Engineering=20Opportunities?= Date: Fri, 7 Aug 2020 16:01:34 -0600 Subject: [PATCH] Update Build.cmake (#377) set target properties c++11 --- Build.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Build.cmake b/Build.cmake index 2d1ab53..c1891b6 100644 --- a/Build.cmake +++ b/Build.cmake @@ -81,7 +81,9 @@ ENDIF() CLEAN_DIRECT_OUTPUT 1 SOVERSION ${VERSION} ) - + + set_property(TARGET ${G3LOG_LIBRARY} PROPERTY CXX_STANDARD 11) + IF(APPLE) SET_TARGET_PROPERTIES(${G3LOG_LIBRARY} PROPERTIES MACOSX_RPATH TRUE) ENDIF()