From f21348891326952a94f3f0594bd19e16e70bb8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Di=20Remigio=20Eik=C3=A5s?= Date: Thu, 14 Sep 2023 09:16:31 +0200 Subject: [PATCH] skip C compiler checks when fetching Eigen --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 789c83ac..7c6376e3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -84,6 +84,7 @@ else() ) set(BUILD_TESTING OFF) + set(CMAKE_C_COMPILER_WORKS ON) FetchContent_MakeAvailable(eigen3) endif()