summaryrefslogtreecommitdiff
path: root/legacy/eobj/cmake
diff options
context:
space:
mode:
authorDavid Walter Seikel <onefang@gmail.com>2012-07-01 06:25:31 +0000
committerDavid Walter Seikel <onefang@gmail.com>2012-07-01 06:25:31 +0000
commit57ce7d92db2864165cba6c1480e7c24ecabe9d3f (patch)
tree0e89e117c92054b609ca0dbec474a86a4cc88483 /legacy/eobj/cmake
parent77e10fd65b19634c4d77ed01da95974b154025f8 (diff)
Let it build with cmake 2.8.1 and older.
SVN revision: 73087
Diffstat (limited to 'legacy/eobj/cmake')
-rw-r--r--legacy/eobj/cmake/Modules/FindCheck.cmake6
-rw-r--r--legacy/eobj/cmake/Modules/FindEcore.cmake8
-rw-r--r--legacy/eobj/cmake/Modules/FindEdje.cmake6
-rw-r--r--legacy/eobj/cmake/Modules/FindEet.cmake6
-rw-r--r--legacy/eobj/cmake/Modules/FindEfreet.cmake6
-rw-r--r--legacy/eobj/cmake/Modules/FindEina.cmake6
-rw-r--r--legacy/eobj/cmake/Modules/FindElementary.cmake6
-rw-r--r--legacy/eobj/cmake/Modules/FindEvas.cmake6
8 files changed, 41 insertions, 9 deletions
diff --git a/legacy/eobj/cmake/Modules/FindCheck.cmake b/legacy/eobj/cmake/Modules/FindCheck.cmake
index 795b61554f..13ed8e9ebe 100644
--- a/legacy/eobj/cmake/Modules/FindCheck.cmake
+++ b/legacy/eobj/cmake/Modules/FindCheck.cmake
@@ -6,7 +6,11 @@
6# CHECK_DEFINITIONS - Compiler switches required for using check 6# CHECK_DEFINITIONS - Compiler switches required for using check
7 7
8find_package(PkgConfig) 8find_package(PkgConfig)
9pkg_check_modules(PC_LIBCHECK QUIET check) 9if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
10 # "QUIET" was introduced in 2.8.2
11 set(_QUIET QUIET)
12endif ()
13pkg_check_modules(PC_LIBCHECK ${_QUIET} check)
10set(CHECK_DEFINITIONS ${PC_LIBCHECK_CFLAGS_OTHER}) 14set(CHECK_DEFINITIONS ${PC_LIBCHECK_CFLAGS_OTHER})
11 15
12find_path(CHECK_INCLUDE_DIR check.h 16find_path(CHECK_INCLUDE_DIR check.h
diff --git a/legacy/eobj/cmake/Modules/FindEcore.cmake b/legacy/eobj/cmake/Modules/FindEcore.cmake
index 97783472b3..25368cb7f0 100644
--- a/legacy/eobj/cmake/Modules/FindEcore.cmake
+++ b/legacy/eobj/cmake/Modules/FindEcore.cmake
@@ -14,7 +14,11 @@ IF( Ecore_FIND_COMPONENTS )
14ENDIF( Ecore_FIND_COMPONENTS ) 14ENDIF( Ecore_FIND_COMPONENTS )
15 15
16find_package(PkgConfig) 16find_package(PkgConfig)
17pkg_check_modules(PC_LIBECORE QUIET ecore) 17if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
18 # "QUIET" was introduced in 2.8.2
19 set(_QUIET QUIET)
20endif ()
21pkg_check_modules(PC_LIBECORE ${_QUIET} ecore)
18set(ECORE_DEFINITIONS ${PC_LIBECORE_CFLAGS_OTHER}) 22set(ECORE_DEFINITIONS ${PC_LIBECORE_CFLAGS_OTHER})
19 23
20find_path(ECORE_INCLUDE_DIR Ecore.h 24find_path(ECORE_INCLUDE_DIR Ecore.h
@@ -36,7 +40,7 @@ find_package_handle_standard_args(ecore DEFAULT_MSG
36mark_as_advanced( ECORE_INCLUDE_DIR ECORE_LIBRARY ) 40mark_as_advanced( ECORE_INCLUDE_DIR ECORE_LIBRARY )
37 41
38if (ECORE_USE_ECORE-X) 42if (ECORE_USE_ECORE-X)
39 pkg_check_modules(PC_LIBECORE_X QUIET ecore-x) 43 pkg_check_modules(PC_LIBECORE_X ${_QUIET} ecore-x)
40 set(ECORE_X_DEFINITIONS ${PC_LIBECORE_X_CFLAGS_OTHER}) 44 set(ECORE_X_DEFINITIONS ${PC_LIBECORE_X_CFLAGS_OTHER})
41 45
42 find_path(ECORE_X_INCLUDE_DIR Ecore_X.h 46 find_path(ECORE_X_INCLUDE_DIR Ecore_X.h
diff --git a/legacy/eobj/cmake/Modules/FindEdje.cmake b/legacy/eobj/cmake/Modules/FindEdje.cmake
index 927b31d5f1..3e58d79055 100644
--- a/legacy/eobj/cmake/Modules/FindEdje.cmake
+++ b/legacy/eobj/cmake/Modules/FindEdje.cmake
@@ -6,7 +6,11 @@
6# EDJE_DEFINITIONS - Compiler switches required for using edje 6# EDJE_DEFINITIONS - Compiler switches required for using edje
7 7
8find_package(PkgConfig) 8find_package(PkgConfig)
9pkg_check_modules(PC_LIBEDJE QUIET edje) 9if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
10 # "QUIET" was introduced in 2.8.2
11 set(_QUIET QUIET)
12endif ()
13pkg_check_modules(PC_LIBEDJE ${_QUIET} edje)
10set(EDJE_DEFINITIONS ${PC_LIBEDJE_CFLAGS_OTHER}) 14set(EDJE_DEFINITIONS ${PC_LIBEDJE_CFLAGS_OTHER})
11 15
12find_path(EDJE_INCLUDE_DIR Edje.h 16find_path(EDJE_INCLUDE_DIR Edje.h
diff --git a/legacy/eobj/cmake/Modules/FindEet.cmake b/legacy/eobj/cmake/Modules/FindEet.cmake
index ae215d330c..c749883086 100644
--- a/legacy/eobj/cmake/Modules/FindEet.cmake
+++ b/legacy/eobj/cmake/Modules/FindEet.cmake
@@ -6,7 +6,11 @@
6# EET_DEFINITIONS - Compiler switches required for using eet 6# EET_DEFINITIONS - Compiler switches required for using eet
7 7
8find_package(PkgConfig) 8find_package(PkgConfig)
9pkg_check_modules(PC_LIBEET QUIET eet) 9if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
10 # "QUIET" was introduced in 2.8.2
11 set(_QUIET QUIET)
12endif ()
13pkg_check_modules(PC_LIBEET ${_QUIET} eet)
10set(EET_DEFINITIONS ${PC_LIBEET_CFLAGS_OTHER}) 14set(EET_DEFINITIONS ${PC_LIBEET_CFLAGS_OTHER})
11 15
12find_path(EET_INCLUDE_DIR Eet.h 16find_path(EET_INCLUDE_DIR Eet.h
diff --git a/legacy/eobj/cmake/Modules/FindEfreet.cmake b/legacy/eobj/cmake/Modules/FindEfreet.cmake
index d245206f11..0ec86373e7 100644
--- a/legacy/eobj/cmake/Modules/FindEfreet.cmake
+++ b/legacy/eobj/cmake/Modules/FindEfreet.cmake
@@ -6,7 +6,11 @@
6# EFREET_DEFINITIONS - Compiler switches required for using efreet 6# EFREET_DEFINITIONS - Compiler switches required for using efreet
7 7
8find_package(PkgConfig) 8find_package(PkgConfig)
9pkg_check_modules(PC_LIBEFREET QUIET efreet) 9if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
10 # "QUIET" was introduced in 2.8.2
11 set(_QUIET QUIET)
12endif ()
13pkg_check_modules(PC_LIBEFREET ${_QUIET} efreet)
10set(EFREET_DEFINITIONS ${PC_LIBEFREET_CFLAGS_OTHER}) 14set(EFREET_DEFINITIONS ${PC_LIBEFREET_CFLAGS_OTHER})
11 15
12find_path(EFREET_INCLUDE_DIR Efreet.h 16find_path(EFREET_INCLUDE_DIR Efreet.h
diff --git a/legacy/eobj/cmake/Modules/FindEina.cmake b/legacy/eobj/cmake/Modules/FindEina.cmake
index efc47e6607..6debf909f7 100644
--- a/legacy/eobj/cmake/Modules/FindEina.cmake
+++ b/legacy/eobj/cmake/Modules/FindEina.cmake
@@ -7,7 +7,11 @@
7# EINA_DEFINITIONS - Compiler switches required for using eina 7# EINA_DEFINITIONS - Compiler switches required for using eina
8 8
9find_package(PkgConfig) 9find_package(PkgConfig)
10pkg_check_modules(PC_LIBEINA QUIET eina) 10if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
11 # "QUIET" was introduced in 2.8.2
12 set(_QUIET QUIET)
13endif ()
14pkg_check_modules(PC_LIBEINA ${_QUIET} eina)
11set(EINA_DEFINITIONS ${PC_LIBEINA_CFLAGS_OTHER}) 15set(EINA_DEFINITIONS ${PC_LIBEINA_CFLAGS_OTHER})
12set(EINA_LDFLAGS_OTHER ${PC_LIBEINA_LDFLAGS_OTHER}) 16set(EINA_LDFLAGS_OTHER ${PC_LIBEINA_LDFLAGS_OTHER})
13 17
diff --git a/legacy/eobj/cmake/Modules/FindElementary.cmake b/legacy/eobj/cmake/Modules/FindElementary.cmake
index 5b75bfcedd..5b09da09c0 100644
--- a/legacy/eobj/cmake/Modules/FindElementary.cmake
+++ b/legacy/eobj/cmake/Modules/FindElementary.cmake
@@ -6,7 +6,11 @@
6# ELEMENTARY_DEFINITIONS - Compiler switches required for using elementary 6# ELEMENTARY_DEFINITIONS - Compiler switches required for using elementary
7 7
8find_package(PkgConfig) 8find_package(PkgConfig)
9pkg_check_modules(PC_LIBELEMENTARY QUIET elementary) 9if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
10 # "QUIET" was introduced in 2.8.2
11 set(_QUIET QUIET)
12endif ()
13pkg_check_modules(PC_LIBELEMENTARY ${_QUIET} elementary)
10set(ELEMENTARY_DEFINITIONS ${PC_LIBELEMENTARY_CFLAGS_OTHER}) 14set(ELEMENTARY_DEFINITIONS ${PC_LIBELEMENTARY_CFLAGS_OTHER})
11 15
12find_path(ELEMENTARY_INCLUDE_DIR Elementary.h 16find_path(ELEMENTARY_INCLUDE_DIR Elementary.h
diff --git a/legacy/eobj/cmake/Modules/FindEvas.cmake b/legacy/eobj/cmake/Modules/FindEvas.cmake
index fe980d3541..25a81fa327 100644
--- a/legacy/eobj/cmake/Modules/FindEvas.cmake
+++ b/legacy/eobj/cmake/Modules/FindEvas.cmake
@@ -6,7 +6,11 @@
6# EVAS_DEFINITIONS - Compiler switches required for using evas 6# EVAS_DEFINITIONS - Compiler switches required for using evas
7 7
8find_package(PkgConfig) 8find_package(PkgConfig)
9pkg_check_modules(PC_LIBEVAS QUIET evas) 9if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
10 # "QUIET" was introduced in 2.8.2
11 set(_QUIET QUIET)
12endif ()
13pkg_check_modules(PC_LIBEVAS ${_QUIET} evas)
10set(EVAS_DEFINITIONS ${PC_LIBEVAS_CFLAGS_OTHER}) 14set(EVAS_DEFINITIONS ${PC_LIBEVAS_CFLAGS_OTHER})
11 15
12find_path(EVAS_INCLUDE_DIR Evas.h 16find_path(EVAS_INCLUDE_DIR Evas.h