summaryrefslogtreecommitdiff
path: root/UnityCore
diff options
authorJussi Pakkanen <jussi.pakkanen@canonical.com>2012-10-17 11:21:00 +0300
committerJussi Pakkanen <jussi.pakkanen@canonical.com>2012-10-17 11:21:00 +0300
commit7badd4147b8b630b61bd868f12aa12d5b028e1da (patch)
treeb863e12bf9b916e1bae43cd45bad2b37ec4b520e /UnityCore
parent045af9b88690b31b943e9ce5d4aded258b159d3f (diff)
Use CMake facitilities for directory inclusion rather than building the command line by ourselves.
(bzr r2845.3.1)
Diffstat (limited to 'UnityCore')
-rw-r--r--UnityCore/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/UnityCore/CMakeLists.txt b/UnityCore/CMakeLists.txt
index 38cc126b9..3e962077d 100644
--- a/UnityCore/CMakeLists.txt
+++ b/UnityCore/CMakeLists.txt
@@ -95,14 +95,13 @@ set (CORE_SOURCES
# CFLAGS and LIBS
#
set (CFLAGS
- ${CORE_DEPS_CFLAGS}
- ${CORE_DEPS_CFLAGS_OTHER}
${MAINTAINER_CFLAGS}
"-I${CMAKE_BINARY_DIR}"
"-DGETTEXT_PACKAGE=\"unity\""
"-DLENSES_DIR=\"${_lensesdir}\""
)
add_definitions (${CFLAGS})
+include_directories(${CORE_DEPS_INCLUDE_DIRS})
set (LIBS ${CORE_DEPS_LIBRARIES})