kuassel: fixup build

with this changes kuassel will find its own headers and also not
place the version header on the-level of the output directory
which will cause other sub-projects build to fail
This commit is contained in:
Ivailo Monev 2014-12-30 22:40:34 +00:00
parent e2579446db
commit 4f9109baa2
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
#####################################################################
cmake_minimum_required(VERSION 2.8.9)
project(QuasselIRC)
project(KuasselIRC)
# Versions
set(QUASSEL_MAJOR 0)
@ -205,7 +205,7 @@ if(HAVE_UMASK)
add_definitions(-DHAVE_UMASK)
endif(HAVE_UMASK)
configure_file(version.h.in ${CMAKE_BINARY_DIR}/version.h @ONLY)
configure_file(version.h.in ${CMAKE_CURRENT_BINARY_DIR}/version.h @ONLY)
# These variables will be added to the main targets (CORE, QTCLIENT, MONO)
set(COMMON_DEPS ${RC_WIN32})

View file

@ -38,8 +38,8 @@ include_directories(${KDE4_INCLUDES})
add_definitions(${KDE4_DEFINITIONS})
set(SOURCES ${SOURCES} kcmdlinewrapper.cpp)
include_directories(${CMAKE_SOURCE_DIR}/src/common
${CMAKE_SOURCE_DIR}/src/client
include_directories(${PROJECT_SOURCE_DIR}/src/common
${PROJECT_SOURCE_DIR}/src/client
)
add_library(mod_uisupport STATIC ${SOURCES})