From 1ccf0942477e9178b27f5e00dddd4d62bff78d29 Mon Sep 17 00:00:00 2001 From: aWZHY0yQH81uOYvH <32046476+aWZHY0yQH81uOYvH@users.noreply.github.com> Date: Tue, 5 Mar 2024 01:36:28 -0800 Subject: [PATCH] set C++ version for boost thread --- nf2ff/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/nf2ff/CMakeLists.txt b/nf2ff/CMakeLists.txt index 81801be..683be5d 100644 --- a/nf2ff/CMakeLists.txt +++ b/nf2ff/CMakeLists.txt @@ -33,6 +33,7 @@ set(HEADERS add_library( nf2ff SHARED ${SOURCES}) set_target_properties(nf2ff PROPERTIES VERSION ${LIB_VERSION_STRING} SOVERSION ${LIB_VERSION_MAJOR}) +set_target_properties(nf2ff PROPERTIES CXX_STANDARD 11) if (WIN32) target_compile_definitions(nf2ff PRIVATE -DBUILD_NF2FF_LIB ) endif (WIN32)