From cbe32996aca0331a8b5f875b5f8c81be3825be9d Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Mon, 11 May 2015 23:06:30 +0200 Subject: [PATCH] fix for building osx package --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f2877c10..7eeab79d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -396,7 +396,7 @@ if (GUI) endif() -if (APPLE) +if (APPLE AND GUI) add_custom_target(appdmg WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}