To avoid kdesrc-build build errors, it's probably easiest just to have a shell CMakeLists.txt which CMake can process and do nothing with. At some point it will be used to make the docs build, but right now the docs install to the wrong directory (as if the name of the project was "doc" instead of kdesrc-build), so installation is disabled.wilder
parent
823d543f46
commit
7ffe80dfb0
2 changed files with 19 additions and 3 deletions
@ -0,0 +1,17 @@ |
||||
cmake_minimum_required(VERSION 2.6) # Pretty much nothing works without this |
||||
project(kdesrc-build) |
||||
|
||||
find_package(KDE4 REQUIRED) # Needed for the docs |
||||
|
||||
include(KDE4Defaults) |
||||
include(MacroLibrary) |
||||
|
||||
# CMake installs to $KDEDIR/share/doc/HTML/$lang/doc for some reason instead |
||||
# of $KDEDIR/share/doc/HTML/$lang/kdesrc-build. |
||||
# Figure it out later I guess... |
||||
#macro_optional_add_subdirectory(doc) |
||||
|
||||
# Null install target so CMake succeeds |
||||
add_custom_target(install |
||||
COMMAND /bin/true |
||||
) |
||||
Loading…
Reference in new issue