From 91728673b7375f90da41485f07458f9f7200be8a Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 8 May 2019 18:02:48 -0400 Subject: [PATCH 1/2] Find gswin32 too --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6eee08175f9..684c938b5c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,7 +72,7 @@ set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/" # Find UNIX commands include (FindUnixCommands) find_package (Git) -find_program (GS gs gswin64) +find_program (GS NAMES gs gswin64 gswin32) find_program (XZ NAMES xz) # Include configuration options (default options and options overridden by user). From b213585aba2f7ffb8e8904b78dc56b01fb0e585b Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 17 May 2019 10:31:35 -0400 Subject: [PATCH 2/2] No need to find gs in building --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 684c938b5c4..770f48d5c1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,7 +72,6 @@ set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/" # Find UNIX commands include (FindUnixCommands) find_package (Git) -find_program (GS NAMES gs gswin64 gswin32) find_program (XZ NAMES xz) # Include configuration options (default options and options overridden by user).