]> git.lyx.org Git - lyx.git/commitdiff
Cmake build: Unconditionally create many install targets
authorKornel Benko <kornel@lyx.org>
Mon, 25 Sep 2017 08:29:40 +0000 (10:29 +0200)
committerKornel Benko <kornel@lyx.org>
Wed, 4 Oct 2017 08:16:30 +0000 (10:16 +0200)
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)

CMakeLists.txt

index 56fc91a9abd4deb8dddf014edcaa95801db6c9d0..725c6868a3c0c5bc5bcc002711da07cff64a22c1 100644 (file)
@@ -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")