diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e1b02e4c0..286775f9b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -39,3 +39,5 @@ if (BUILD_SHARED_LIBS) target_compile_definitions(llama PRIVATE LLAMA_BUILD) target_compile_definitions(llama PUBLIC LLAMA_SHARED) endif() + +set_source_files_properties(unicode-data.cpp PROPERTIES COMPILE_FLAGS -O1)