1c61e61119
Summary: KWin was quite good in ensuring that you don't need to install by passing paths to the tests. The new way is much nicer, so code is adjusted for the new way. Also if we require a newer ECM in future we need to support the new way. No guarantee that the tests don't pick something up from the system env, that needs more testing. References: https://community.kde.org/Guidelines_and_HOWTOs/Making_apps_run_uninstalled Test Plan: The tests which loaded helpers pass Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D7543
27 lines
640 B
CMake
27 lines
640 B
CMake
set(SCENE_OPENGL_SRCS scene_opengl.cpp)
|
|
|
|
include(ECMQtDeclareLoggingCategory)
|
|
ecm_qt_declare_logging_category(
|
|
SCENE_OPENGL_SRCS HEADER
|
|
logging.h
|
|
IDENTIFIER
|
|
KWIN_OPENGL
|
|
CATEGORY_NAME
|
|
kwin_scene_opengl
|
|
DEFAULT_SEVERITY
|
|
Critical
|
|
)
|
|
|
|
add_library(KWinSceneOpenGL MODULE scene_opengl.cpp)
|
|
set_target_properties(KWinSceneOpenGL PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.scenes/")
|
|
target_link_libraries(KWinSceneOpenGL
|
|
kwin
|
|
SceneOpenGLBackend
|
|
)
|
|
|
|
install(
|
|
TARGETS
|
|
KWinSceneOpenGL
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.scenes/
|
|
)
|