[chrome-gnome-shell] cmake: fixed DEFINED syntax
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell] cmake: fixed DEFINED syntax
- Date: Sun, 25 Dec 2016 08:48:37 +0000 (UTC)
commit c16ff87c686929534ea50a66c17558592c8c3847
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sun Dec 25 12:45:01 2016 +0400
cmake: fixed DEFINED syntax
CMakeLists.txt | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d25ca2..73ef4a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,9 +4,9 @@ cmake_minimum_required (VERSION 2.8)
project (chrome-gnome-shell NONE)
# Suppress warning
-if(NOT DEFINED(CMAKE_SIZEOF_VOID_P))
+if(NOT DEFINED CMAKE_SIZEOF_VOID_P)
set(CMAKE_SIZEOF_VOID_P 8)
-endif(NOT DEFINED(CMAKE_SIZEOF_VOID_P))
+endif(NOT DEFINED CMAKE_SIZEOF_VOID_P)
# Variables
set(PROJECT_VERSION "7.2")
@@ -31,23 +31,23 @@ option(BUILD_MESSAGES "Update translation strings" FALSE)
option(USE_DEBIAN_LAYOUT "Use --install-layout=deb distutils parameter" FALSE)
# Default extension key for Chrome web store
-if(NOT DEFINED(CHROME_EXTENSION_KEY))
+if(NOT DEFINED CHROME_EXTENSION_KEY)
set(CHROME_EXTENSION_KEY
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlig8TAPPQZinMkJnptC0ldizx6fG9jSjZDJ9c8GuLcXeGRH+NMlQuPC9bR5IQlT7+4VY/1tm1+IZ4xvITx1wXCNTR+KXzZv3VNc2D+logehK7oIRTRj0fLhixrx4NLSNK7L7HgV2xcIoW6QV0jOdFcTPL0mWXodXSzZePrvXuflF7qpwNxLzYVi04Vh3xu2oR2Pc9SwfZ4SNbyCaunH/p8n5AYmDuogI2Ah++RZw0ctnqn7mmHrGXteBu/vkpcHZu3B3eW9PFSrv69rRs8duybYR9C91hJm6yzRqZqIpindIU3k2HnNWeCFWkRVpZPhaNVoxcBUO7wWUUwdIflW2JwIDAQAB")
-endif(NOT DEFINED(CHROME_EXTENSION_KEY))
+endif(NOT DEFINED CHROME_EXTENSION_KEY)
# Default extension key for Opera addons
-if(NOT DEFINED(OPERA_EXTENSION_KEY))
+if(NOT DEFINED OPERA_EXTENSION_KEY)
set(OPERA_EXTENSION_KEY
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1QBzvBFxSTBP1Z3u+B3GnxOhZiT/LLGJ9R3Mu3R5ap1YgvbHNqSj0CmrWE+MvJUYA+AxHSRP6ctKfPBZl/kdGYGLPgvagGBEEbutCerj9www7T2LAsFNc5gIgDXaU0P74Yik8MjLZIXOC3Q91Kien5Jbtit382HNVHl2nRbhgGZ9LZ+6UJnzSseW9NHw0/XRRnT0kv0Ih7lgC55xWfP7guam1uaT5DPxC7W5cy9V1z7mljBf50OxgnbEmf7Xvfz4QpQfDyQWE5hqKlBuPc8W/8bvYmWN+FDBqhls/FCml3icAElNMBg0YryFEDzu6xCTzgHqDKYu5SN49u+m6tyamQIDAQAB")
-endif(NOT DEFINED(OPERA_EXTENSION_KEY))
+endif(NOT DEFINED OPERA_EXTENSION_KEY)
# Debian variables
-if(NOT DEFINED(DEBIAN_VERSION))
+if(NOT DEFINED DEBIAN_VERSION)
set(DEBIAN_VERSION "0ubuntu1")
-endif(NOT DEFINED(DEBIAN_VERSION))
+endif(NOT DEFINED DEBIAN_VERSION)
-if(NOT DEFINED(DEBIAN_DISTRO))
+if(NOT DEFINED DEBIAN_DISTRO)
set(DEBIAN_DISTRO "trusty")
-endif(NOT DEFINED(DEBIAN_DISTRO))
+endif(NOT DEFINED DEBIAN_DISTRO)
macro(find_program_ex)
string(TOUPPER ${ARGV0} _PROGRAM_UPPER)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]