From: Kornel Benko Date: Mon, 25 Sep 2017 08:29:40 +0000 (+0200) Subject: Cmake build: Unconditionally create many install targets X-Git-Tag: 2.3.0rc1~68 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=10487fb2923292ab98b169f5c11ad233729e8fce;p=features.git Cmake build: Unconditionally create many install targets Previously one needed to use '-D_LYX_INSTALL=ON' to be able to install some targets. This change only creates rules to make installation possible for the underlying toolset. The setting is still needed to create the rules for manuals, lokalizations and win32 install scripts. (cherry picked from commit 82246b5109d9bbadb8236c1d07d1d903181429f7) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 56fc91a9ab..725c6868a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1034,8 +1034,8 @@ if(LYX_INSTALL) endif() add_subdirectory(${LYX_CMAKE_DIR}/doc "${TOP_BINARY_DIR}/doc") endif() - include(../Install) endif() +include(../Install) add_subdirectory(src "${TOP_BINARY_DIR}/src") add_subdirectory(lib/lyx2lyx "${TOP_BINARY_DIR}/lyx2lyx")