Skip to content

Commit 76eab4d

Browse files
committed
whisper : add C++17 standard
This commit adds the C++17 standard to the CMakeLists.txt file. The motivatiion for this is that ggml sets this and it would seem alright to have the same standard in whisper too.
1 parent dc63a20 commit 76eab4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ include(CheckIncludeFileCXX)
55

66
set(SOVERSION 1)
77

8+
set(CMAKE_CXX_STANDARD 17)
9+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
10+
811
#set(CMAKE_WARN_DEPRECATED YES)
912
set(CMAKE_WARN_UNUSED_CLI YES)
1013

0 commit comments

Comments
 (0)