mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
26 lines
768 B
CMake
26 lines
768 B
CMake
|
|
########### next target ###############
|
|
|
|
if(Q_WS_X11)
|
|
find_library(X11_XRes_LIB XRes ${X11_LIB_SEARCH_PATH})
|
|
find_path(X11_XRes_INCLUDE_PATH X11/extensions/XRes.h ${X11_INC_SEARCH_PATH})
|
|
|
|
if(X11_XRes_LIB AND X11_XRes_INCLUDE_PATH)
|
|
set(X11_XRes_FOUND TRUE)
|
|
endif(X11_XRes_LIB AND X11_XRes_INCLUDE_PATH)
|
|
endif(Q_WS_X11)
|
|
|
|
macro_bool_to_01(X11_XRes_FOUND HAVE_XRES)
|
|
configure_file(config-ksysguard.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksysguard.h )
|
|
|
|
add_subdirectory( lsofui )
|
|
add_subdirectory( processcore )
|
|
add_subdirectory( processui )
|
|
add_subdirectory( signalplotter )
|
|
add_subdirectory( ksgrd )
|
|
if(ENABLE_TESTING)
|
|
add_subdirectory( tests )
|
|
endif()
|
|
|
|
install(DIRECTORY scripts/ DESTINATION ${KDE4_DATA_INSTALL_DIR}/ksysguard/scripts)
|
|
|