Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Dependancy on internal library fixed

  • Loading branch information...
commit 34cbefa6cf1c0f2f3ff6bd8699996e8fd48880f7 1 parent 789d68b
Kuzma Shapran authored
9 razorqt-panel/CMakeLists.txt
View
@@ -185,17 +185,8 @@ if (VOLUME_PLUGIN)
endif (VOLUME_PLUGIN)
if (SYSSTAT_PLUGIN)
- FIND_LIBRARY(SYSSTAT_LIB sysstat)
-
- if ( NOT(${SYSSTAT_LIB} MATCHES "NOTFOUND" ))
set(ENABLED_PLUGINS ${ENABLED_PLUGINS} "SysStat")
add_subdirectory(plugin-sysstat)
- else ()
- message(STATUS "")
- message(STATUS "SysStat plugin requires libsysstat")
- message(STATUS "")
- endif ( NOT(${SYSSTAT_LIB} MATCHES "NOTFOUND" ))
-
endif (SYSSTAT_PLUGIN)
message(STATUS "**************** The following plugins will be built ****************")
5 razorqt-panel/plugin-sysstat/CMakeLists.txt
View
@@ -31,3 +31,8 @@ LINK_LIBRARIES(${PLUGIN} ${SYSSTAT_LIB})
include ("../BuildPlugin.cmake")
BUILD_RAZOR_PLUGIN(${PLUGIN})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+
+set(panelsysstat_LIBRARIES
+ sysstat
+)
+target_link_libraries(${PLUGIN} ${panelsysstat_LIBRARIES})
Please sign in to comment.
Something went wrong with that request. Please try again.