X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2FCMakeLists.txt;h=2239e77f5ca778b72c06251303e03f57b50b532d;hp=72e4eb1e19a2e2d73c420d10e8c3461baf61b7ff;hb=3982589b93aa14c3cede148b8a5158b63055d65c;hpb=a45c9e65ddca9748bb29318a7de5cfef03900eb8 diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 72e4eb1e..2239e77f 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -37,4 +37,7 @@ set(HEADERS qt4_wrap_cpp(MOC ${HEADERS}) +include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}) # for version.inc and version.gen +add_definitions(-DHAVE_VERSION_GEN) # we ensure that by deps in the main CMakeLists.txt + add_library(mod_common STATIC ${SOURCES} ${MOC})