From 5075d8cdcae7fb34a3302fea77b1fb99095d7e85 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 30 Jun 2020 21:04:20 +0100 Subject: [PATCH] CMake: Fix builtins compiler condition --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 279656cbfb..4cc5086462 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,6 @@ if (NOT WIN32) find_package(Fontconfig) find_package(ICU OPTIONAL_COMPONENTS i18n lx) find_package(XDG_basedir) - find_package(Builtins) endif (NOT WIN32) if (APPLE) find_package(Iconv) @@ -56,6 +55,8 @@ endif (APPLE) if (MSVC) find_package(Editbin REQUIRED) +else () + find_package(Builtins) endif (MSVC) if (UNIX)