summaryrefslogtreecommitdiff
path: root/unity-shared/CMakeLists.txt
diff options
authorTim Penhey <tim.penhey@canonical.com>2012-11-28 16:44:41 +1300
committerTim Penhey <tim.penhey@canonical.com>2012-11-28 16:44:41 +1300
commitaaaeb7b04103f126214f5f35f6fd91ebcf413d6a (patch)
treed0c350532b9fc6d5b76188327e2ff2cfc7ca2931 /unity-shared/CMakeLists.txt
parentd20adcd8bf7fbfeef684d51398b70e5368481771 (diff)
Trying to separate it out.
(bzr r2791.9.45)
Diffstat (limited to 'unity-shared/CMakeLists.txt')
-rw-r--r--unity-shared/CMakeLists.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/unity-shared/CMakeLists.txt b/unity-shared/CMakeLists.txt
index fa1e911ae..8d0881ca2 100644
--- a/unity-shared/CMakeLists.txt
+++ b/unity-shared/CMakeLists.txt
@@ -104,6 +104,14 @@ if (ENABLE_X_SUPPORT)
target_link_libraries (unity-shared-compiz ${LIBS})
add_dependencies (unity-shared-compiz unity-shared)
+
+ # bamf application manager
+ set (UNITY_SHARED_BAMF_SOURCES
+ BamfApplicationManagerFactory.cpp
+ )
+ add_library (unity-shared-bamf STATIC ${UNITY_SHARED_BAMF_SOURCES})
+ target_link_libraries (unity-shared-bamf ${LIBS})
+ add_dependencies (unity-shared-bamf unity-shared)
endif()
# standalone
@@ -115,6 +123,6 @@ target_link_libraries (unity-shared-standalone ${LIBS})
add_dependencies (unity-shared-standalone unity-shared)
add_executable (app-manager StandaloneAppManager.cpp)
-add_dependencies (app-manager unity-shared)
-target_link_libraries (app-manager unity-shared unity-shared-standalone)
+add_dependencies (app-manager unity-shared unity-shared-bamf unity-shared-standalone)
+target_link_libraries (app-manager unity-shared unity-shared-bamf unity-shared-standalone)