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.
This commit is contained in:
Daniel Bevenius 2025-04-02 13:45:50 +02:00
parent d4e11f1d41
commit 7b2e9188ed

View File

@ -5,6 +5,9 @@ include(CheckIncludeFileCXX)
set(SOVERSION 1)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
#set(CMAKE_WARN_DEPRECATED YES)
set(CMAKE_WARN_UNUSED_CLI YES)