Skip to content

Commit 95075dc

Browse files
committed
Enable C++17 for nodesoup
1 parent 28001e1 commit 95075dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/3rd_party/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ else()
2525
CXX_VISIBILITY_PRESET "hidden")
2626
target_include_directories(nodesoup
2727
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/nodesoup/include>)
28+
target_compile_features(nodesoup PUBLIC cxx_std_17)
2829

2930
# Hackfix to support MSVC standard library
3031
# https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=vs-2019

0 commit comments

Comments
 (0)