summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorJussi Pakkanen <jussi.pakkanen@canonical.com>2012-12-19 20:53:12 +0000
committerTarmac <>2012-12-19 20:53:12 +0000
commite6d402e200accdc6b95307c47bdcb4947488f8f7 (patch)
tree9443a00807b2fbad98ee4267fdc65a86ca3cd0b4 /unity-shared
parent76e8006820a1216cb877c9ed0cc1026a558371e5 (diff)
parente313e6dd643c50c6ca4192d2bdff9d90c4a69a17 (diff)
Remove use of deprecated link_libraries command.
Approved by Stephen M. Webb. (bzr r3003)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/unity-shared/CMakeLists.txt b/unity-shared/CMakeLists.txt
index 54716d9f2..261a7fac7 100644
--- a/unity-shared/CMakeLists.txt
+++ b/unity-shared/CMakeLists.txt
@@ -9,10 +9,7 @@ set (CFLAGS
string (REPLACE ";" " " CFLAGS "${CFLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CFLAGS}")
-set (LIBS ${CACHED_UNITY_DEPS_LIBRARIES} ${UNITY_STANDALONE_LADD})
-
-set (LIB_PATHS ${CACHED_UNITY_DEPS_LIBRARY_DIRS})
-link_directories (${CMAKE_BINARY_DIR}/UnityCore ${LIB_PATHS})
+set (LIBS ${CACHED_UNITY_DEPS_LDFLAGS} ${UNITY_STANDALONE_LADD})
include_directories (.. ../services ../UnityCore ${UNITY_SRC} ${CMAKE_BINARY_DIR})