[chrome-gnome-shell] cmake: fixed USE_DEBIAN_LAYOUT option handling



commit 53e14566674791d17f3959eb0118cad762fa0ff7
Author: Yuri Konotopov <ykonotopov gmail com>
Date:   Sun Sep 25 00:13:42 2016 +0300

    cmake: fixed USE_DEBIAN_LAYOUT option handling

 CMakeLists.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fba651f..f6e27ad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -151,11 +151,11 @@ if(BUILD_CONNECTOR)
        configure_file("${CMAKE_CURRENT_SOURCE_DIR}/policies/chrome-gnome-shell.json"
                        "${CMAKE_BINARY_DIR}/")
 
-       if(DEFINED(USE_DEBIAN_LAYOUT))
+       if(USE_DEBIAN_LAYOUT)
                set(DISTUTILS_EXTRA_ARGS "--install-layout=deb")
        else()
                set(DISTUTILS_EXTRA_ARGS "")
-       endif(DEFINED(USE_DEBIAN_LAYOUT))
+       endif(USE_DEBIAN_LAYOUT)
 
        install(CODE "
                if(DEFINED ENV{DESTDIR})


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]