mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 10:49:01 +08:00
110c89fc6a
* [klein] new port * [klein] Replace version-string by version * [klein] Add call to vcpkg_fixup_pkgconfig() * [klein] Replace klein by ${PORT} * [klein] Add patch to avoid using FetchContent * [klein] Change version to version-date * update version * Apply suggestions from code review Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> * Update git-tree version Co-authored-by: Jonliu1993 <13720414433@163.com> Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
24 lines
756 B
Diff
24 lines
756 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index c5d6f3f..a3ba161 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -29,16 +29,7 @@ endif()
|
|
option(KLEIN_BUILD_SYM "Enable compilation of symbolic Klein utility" ON)
|
|
option(KLEIN_BUILD_C_BINDINGS "Enable compilation of the Klein C bindings" ON)
|
|
|
|
-include(FetchContent)
|
|
-FetchContent_Declare(
|
|
- simde
|
|
- GIT_REPOSITORY https://github.com/simd-everywhere/simde
|
|
- GIT_TAG v0.7.2
|
|
- GIT_SHALLOW ON
|
|
-)
|
|
-FetchContent_GetProperties(simde)
|
|
-if(NOT simde_POPULATED)
|
|
- FetchContent_Populate(simde)
|
|
-endif()
|
|
+find_path(SIMDE_INCLUDE_DIR "simde/x86/sse4.1.h" REQUIRED)
|
|
+set(simde_SOURCE_DIR ${SIMDE_INCLUDE_DIR}/simde)
|
|
|
|
# The default platform and instruction set is x86 SSE3
|