summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kbfxlib/data/CMakeLists.txt1
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/kbfxplasmacanvasgroup.cpp2
3 files changed, 4 insertions, 1 deletions
diff --git a/kbfxlib/data/CMakeLists.txt b/kbfxlib/data/CMakeLists.txt
index 6067300..200b989 100644
--- a/kbfxlib/data/CMakeLists.txt
+++ b/kbfxlib/data/CMakeLists.txt
@@ -13,6 +13,7 @@ include_directories(
${TQT_INCLUDE_DIRS}
${TDE_INCLUDE_DIR}
${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/src
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 65f92ae..99ccee6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -13,6 +13,8 @@ include_directories(
${TQT_INCLUDE_DIRS}
${TDE_INCLUDE_DIR}
${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kbfxlib/common
+ ${CMAKE_SOURCE_DIR}/kbfxlib/data
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
)
diff --git a/src/kbfxplasmacanvasgroup.cpp b/src/kbfxplasmacanvasgroup.cpp
index 94e9389..fe48427 100644
--- a/src/kbfxplasmacanvasgroup.cpp
+++ b/src/kbfxplasmacanvasgroup.cpp
@@ -176,7 +176,7 @@ void
KbfxPlasmaCanvasGroup::setGroupName ( TQString name )
{
m_name = name;
- delete [] name;
+// delete [] name;
}
TQString