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

View File

@ -1028,8 +1028,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")