forked from speed-dreams/speed-dreams-code
Fix for version.xml install on windows
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5795 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 6618f4ac9d4787797c1a86852ff2293ef2e03848 Former-commit-id: 5c70238546ab70518032fcb998118a7c2f021689
This commit is contained in:
parent
ef21068c0f
commit
ddbc76579a
1 changed files with 5 additions and 1 deletions
|
@ -176,7 +176,11 @@ MACRO(SD_UPDATE_SETTINGS_VERSION)
|
|||
ENDFOREACH()
|
||||
|
||||
# Install version.xml
|
||||
INSTALL(FILES "${CMAKE_BINARY_DIR}/${SD_BINDIR}/version.xml" DESTINATION "${SD_DATADIR_ABS}")
|
||||
IF(MSVC)
|
||||
INSTALL(FILES "${CMAKE_BINARY_DIR}/${SD_BINDIR}/version.xml" DESTINATION "${SD_DATADIR}")
|
||||
ELSE()
|
||||
INSTALL(FILES "${CMAKE_BINARY_DIR}/${SD_BINDIR}/version.xml" DESTINATION "${SD_DATADIR_ABS}")
|
||||
ENDIF(MSVC)
|
||||
|
||||
ENDMACRO(SD_UPDATE_SETTINGS_VERSION)
|
||||
|
||||
|
|
Loading…
Reference in a new issue