summaryrefslogtreecommitdiff
path: root/UnityCore
diff options
authorJussi Pakkanen <jussi.pakkanen@canonical.com>2012-11-28 14:50:04 +0200
committerJussi Pakkanen <jussi.pakkanen@canonical.com>2012-11-28 14:50:04 +0200
commit4a3a0a0e3460ed2310d33113e66a101b70284610 (patch)
tree4b77b16c7e149e2282624ac8e673ce030614fb4f /UnityCore
parent95fac556fbcf4211f59265f88787a76325acb936 (diff)
Move LENSES_DIR to config.h
(bzr r2934.3.1)
Diffstat (limited to 'UnityCore')
-rw-r--r--UnityCore/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/UnityCore/CMakeLists.txt b/UnityCore/CMakeLists.txt
index fdbf1df92..33208cc40 100644
--- a/UnityCore/CMakeLists.txt
+++ b/UnityCore/CMakeLists.txt
@@ -11,8 +11,6 @@ set(UNITY_CORE_DEPS
pkg_check_modules (CORE_DEPS REQUIRED ${UNITY_CORE_DEPS})
pkg_check_modules (PRIVATE_CORE_DEPS REQUIRED unity-protocol-private)
-execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} unity --variable lensesdir OUTPUT_VARIABLE _lensesdir OUTPUT_STRIP_TRAILING_WHITESPACE)
-
#
# Headers & Sources
#
@@ -103,10 +101,6 @@ set (CORE_SOURCES
#
# CFLAGS and LIBS
#
-set (CFLAGS
- "-DLENSES_DIR=\"${_lensesdir}\""
- )
-add_definitions (${CFLAGS})
include_directories(${CORE_DEPS_INCLUDE_DIRS})
include_directories(${CMAKE_BINARY_DIR})