summaryrefslogtreecommitdiffstats
path: root/src/cpufreqd/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-04-19 16:41:06 +0200
committerSlávek Banko <[email protected]>2019-04-21 20:32:58 +0200
commitb4d1a6c87fad2a54b81e71fbd65e3ace03b14b86 (patch)
treeadd007af857fe7e410d3b74ef29983bb7de23757 /src/cpufreqd/CMakeLists.txt
parente8afd9784f4faa54060a60322219351c6512e00d (diff)
downloadkima-b4d1a6c87fad2a54b81e71fbd65e3ace03b14b86.tar.gz
kima-b4d1a6c87fad2a54b81e71fbd65e3ace03b14b86.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]> (cherry picked from commit 55ebab38f1bc2c061eb3673029fee13615635221)
Diffstat (limited to 'src/cpufreqd/CMakeLists.txt')
-rw-r--r--src/cpufreqd/CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/cpufreqd/CMakeLists.txt b/src/cpufreqd/CMakeLists.txt
new file mode 100644
index 0000000..e14b38d
--- /dev/null
+++ b/src/cpufreqd/CMakeLists.txt
@@ -0,0 +1,23 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### cpufreqd (static)
+
+tde_add_library( cpufreqd STATIC_PIC AUTOMOC
+
+ SOURCES
+ cpufreqd.cpp
+ cpufreqdconnection.cpp
+ cpufreqdprofile.cpp
+)