From 98e6e584dd0a20663ecc6ef52601852389c79aed Mon Sep 17 00:00:00 2001 From: morrolinux Date: Wed, 12 Dec 2018 18:47:41 +0100 Subject: [PATCH] disabling POPPLER compile if not specified otherwise --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 513e9e49..b3cbd98f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,7 @@ if (ADVANCED_PDF_EXPORT_POPPLER AND LSB_RELEASE_ID_SHORT STREQUAL "Ubuntu" AND L message ("Automatically set BUILD_POPPLER ON on Ubuntu 16.04") endif() ## Mac OS X too -if (CMAKE_SYSTEM_NAME STREQUAL "Darwin") +if (ADVANCED_PDF_EXPORT_POPPLER AND CMAKE_SYSTEM_NAME STREQUAL "Darwin") set(BUILD_POPPLER ON) message ("Automatically set BUILD_POPPLER ON on Mac OS") endif ()