diff options
Diffstat (limited to 'src/cpufreqd')
-rw-r--r-- | src/cpufreqd/CMakeLists.txt | 23 | ||||
-rw-r--r-- | src/cpufreqd/cpufreqd.cpp | 1 |
2 files changed, 24 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 +) diff --git a/src/cpufreqd/cpufreqd.cpp b/src/cpufreqd/cpufreqd.cpp index c510d90..374a7cb 100644 --- a/src/cpufreqd/cpufreqd.cpp +++ b/src/cpufreqd/cpufreqd.cpp @@ -154,3 +154,4 @@ void CPUFreqd::setMode(uint32_t mode) { m_conn.write(CMD_SET_MODE, mode); m_conn.close(); } +#include "cpufreqd.moc" |