mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
CPack: Do not use CPACK_SET_DESTDIR on Windows
This commit is contained in:
parent
925c35f22e
commit
1ede4a51d3
@ -32,9 +32,11 @@ FILE(STRINGS "${TOP_CMAKE_PATH}/LyX_summary.txt" CPACK_PACKAGE_DESCRIPTION_SUMMA
|
||||
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${LYX_INSTALL_SUFFIX}")
|
||||
|
||||
#
|
||||
# needed by rpm
|
||||
set(CPACK_SET_DESTDIR "ON")
|
||||
if (NOT WIN32)
|
||||
# needed by rpm
|
||||
set(CPACK_SET_DESTDIR "ON")
|
||||
endif()
|
||||
|
||||
FILE(READ "${TOP_CMAKE_PATH}/LyX_license.txt" CPACK_RPM_PACKAGE_LICENSE)
|
||||
set(CPACK_RPM_PACKAGE_GROUP "Applications/Publishing")
|
||||
set(CPACK_RPM_PACKAGE_VENDOR "The LyX team")
|
||||
|
Loading…
Reference in New Issue
Block a user