mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-15 22:08:43 +00:00
Fixed: Install readme.txt in same directory if not using WITH_UNIX_STRUCTURE
This commit is contained in:
parent
b9d62139c1
commit
2c5c96689a
1 changed files with 6 additions and 1 deletions
|
@ -14,4 +14,9 @@ NL_ADD_RUNTIME_FLAGS(zviewer)
|
|||
|
||||
INSTALL(TARGETS zviewer RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools3d)
|
||||
INSTALL(FILES zviewer.cfg DESTINATION ${NL_ETC_PREFIX} COMPONENT tools3d)
|
||||
INSTALL(FILES readme.txt DESTINATION ${NL_SHARE_PREFIX}/zviewer COMPONENT tools3d)
|
||||
|
||||
IF(WITH_UNIX_STRUCTURE)
|
||||
INSTALL(FILES readme.txt DESTINATION ${NL_SHARE_PREFIX}/zviewer COMPONENT tools3d)
|
||||
ELSE()
|
||||
INSTALL(FILES readme.txt DESTINATION ${NL_SHARE_PREFIX} COMPONENT tools3d RENAME zviewer.txt)
|
||||
ENDIF()
|
||||
|
|
Loading…
Reference in a new issue