From b7ecd0a781eca26924b1796c579b5bec227cb818 Mon Sep 17 00:00:00 2001 From: netrunnereve <139727413+netrunnereve@users.noreply.github.com> Date: Thu, 2 Nov 2023 20:56:31 -0400 Subject: [PATCH] cleanup --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4155b4220..afc1e78bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,9 +100,10 @@ option(LLAMA_BUILD_TESTS "llama: build tests" ${LLAMA_STANDALO option(LLAMA_BUILD_EXAMPLES "llama: build examples" ${LLAMA_STANDALONE}) option(LLAMA_BUILD_SERVER "llama: build server example" ON) -IF(LLAMA_NATIVE) +# instruction set detection for MSVC only +if (LLAMA_NATIVE) include(cmake/FindSIMD.cmake) -ENDIF() +endif () # # Compile flags