diff options
| author | William Hua <william.hua@canonical.com> | 2014-01-31 23:13:33 -0500 |
|---|---|---|
| committer | William Hua <william.hua@canonical.com> | 2014-01-31 23:13:33 -0500 |
| commit | 4a44529579e498a420ee2fe6a35082febe42e2ad (patch) | |
| tree | 72d8cebb0e691a3d7030da42ab33348301739c96 /unity-shared | |
| parent | 0e02a35d0c18e779468a0f3428147b045644701c (diff) | |
Fix CMake errors.
(bzr r3608.4.21)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/unity-shared/CMakeLists.txt b/unity-shared/CMakeLists.txt index 2927dff2b..a587dfb87 100644 --- a/unity-shared/CMakeLists.txt +++ b/unity-shared/CMakeLists.txt @@ -102,13 +102,20 @@ if (ENABLE_X_SUPPORT) ) find_package (PkgConfig) + pkg_check_modules (COMPIZ REQUIRED compiz) pkg_check_modules (COMPIZ_OPENGL REQUIRED compiz-opengl) add_library (unity-shared-compiz STATIC ${UNITY_SHARED_COMPIZ_SOURCES}) # This makes linker to include library dir in RUNPATH + find_library (COMPIZ_LIB compiz_core ${COMPIZ_LIBDIR}) find_library (COMPIZ_OPENGL_LIB opengl ${COMPIZ_OPENGL_LIBDIR}) - target_link_libraries (unity-shared-compiz ${LIBS} ${COMPIZ_OPENGL_LIB} ${COMPIZ_OPENGL_LDFLAGS}) + target_link_libraries (unity-shared-compiz + ${LIBS} + ${COMPIZ_LIB} + ${COMPIZ_LDFLAGS} + ${COMPIZ_OPENGL_LIB} + ${COMPIZ_OPENGL_LDFLAGS}) add_dependencies (unity-shared-compiz unity-shared) # bamf application manager |
