aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/python/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Elvio Basello2009-07-30 23:50:03 +0000
committerGravatar Elvio Basello2009-07-30 23:50:03 +0000
commitc31ce2928c1a7787197a9e3918ba36c1dc6521ae (patch)
tree817327705ee6b2fc8bbf01fa13e90f3b50c72b86 /src/modules/python/CMakeLists.txt
parent[KVIrc] (trunk) Correct check for building with Python or not. (diff)
downloadKVIrc-c31ce2928c1a7787197a9e3918ba36c1dc6521ae.tar.gz
KVIrc-c31ce2928c1a7787197a9e3918ba36c1dc6521ae.tar.bz2
KVIrc-c31ce2928c1a7787197a9e3918ba36c1dc6521ae.zip
removed checks on python* modules;
added python version to the definitions; changed LIB_SUFFIX with better LIBDIR_SUFFIX; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3395 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/python/CMakeLists.txt')
-rw-r--r--src/modules/python/CMakeLists.txt18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/modules/python/CMakeLists.txt b/src/modules/python/CMakeLists.txt
index e240f3964..e9c44a622 100644
--- a/src/modules/python/CMakeLists.txt
+++ b/src/modules/python/CMakeLists.txt
@@ -1,16 +1,12 @@
# CMakeLists for src/modules/python
-#
-# Only build this, if WITH_PYTHON was set and passed to CMake
-IF(COMPILE_PYTHON_SUPPORT)
- SET(kvipython_SRCS
- libkvipython.cpp
- )
+SET(kvipython_SRCS
+ libkvipython.cpp
+)
- # After this call, files will be moc'ed to moc_kvi_*.cpp
- QT4_WRAP_CPP(kvipython_MOC_SRCS ${kvipython_MOC_HDRS})
+# After this call, files will be moc'ed to moc_kvi_*.cpp
+QT4_WRAP_CPP(kvipython_MOC_SRCS ${kvipython_MOC_HDRS})
- SET(kvi_module_name kvipython)
+SET(kvi_module_name kvipython)
- INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt)
-ENDIF(COMPILE_PYTHON_SUPPORT)
+INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt)