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 82246b5109)
This commit is contained in:
Kornel Benko 2017-09-25 10:29:40 +02:00
parent a506c6b73b
commit 10487fb292

View File

@ -1034,8 +1034,8 @@ if(LYX_INSTALL)
endif() endif()
add_subdirectory(${LYX_CMAKE_DIR}/doc "${TOP_BINARY_DIR}/doc") add_subdirectory(${LYX_CMAKE_DIR}/doc "${TOP_BINARY_DIR}/doc")
endif() endif()
include(../Install)
endif() endif()
include(../Install)
add_subdirectory(src "${TOP_BINARY_DIR}/src") add_subdirectory(src "${TOP_BINARY_DIR}/src")
add_subdirectory(lib/lyx2lyx "${TOP_BINARY_DIR}/lyx2lyx") add_subdirectory(lib/lyx2lyx "${TOP_BINARY_DIR}/lyx2lyx")