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