summaryrefslogtreecommitdiff
path: root/plugins/blur/CMakeLists.txt
blob: d625cdfe9e1dafd22e5ee588153c28910b164e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
find_package (Compiz REQUIRED)

include (CompizPlugin)

find_package (OpenGL)

if (OPENGL_GLU_FOUND)
    compiz_plugin(blur PLUGINDEPS composite opengl LIBRARIES decoration ${OPENGL_glu_LIBRARY} INCDIRS ${OPENGL_INCLUDE_DIR})

    if (COMPIZ_BUILD_WITH_RPATH)
	set_target_properties (
	    blur PROPERTIES
	    INSTALL_RPATH "${COMPIZ_LIBDIR}"
	)
    endif (COMPIZ_BUILD_WITH_RPATH)
endif ()