update to C++17 for compilation

This commit is contained in:
Zack Zhiyuan Li 2024-11-03 22:07:07 +00:00
parent 9e67ef75b4
commit 4bdc70aaac

View file

@ -87,5 +87,5 @@ if (LLAMA_CURL)
endif ()
target_include_directories(${TARGET} PUBLIC .)
target_compile_features (${TARGET} PUBLIC cxx_std_11)
target_compile_features (${TARGET} PUBLIC cxx_std_17)
target_link_libraries (${TARGET} PRIVATE ${LLAMA_COMMON_EXTRA_LIBS} PUBLIC llama Threads::Threads)