mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-10-05 15:26:32 +00:00
Fixed an issue with windows CPack failing due to trying to install linux binaries
This commit is contained in:
parent
7934d8abd9
commit
a61edb60fd
1 changed files with 28 additions and 26 deletions
|
@ -630,6 +630,7 @@ if (APPLE)
|
||||||
include(CPack)
|
include(CPack)
|
||||||
endif (APPLE)
|
endif (APPLE)
|
||||||
|
|
||||||
|
if (NOT WIN32)
|
||||||
## Linux building
|
## Linux building
|
||||||
# paths
|
# paths
|
||||||
set(BINDIR "${CMAKE_INSTALL_PREFIX}/usr/bin" CACHE PATH "Where to install binaries")
|
set(BINDIR "${CMAKE_INSTALL_PREFIX}/usr/bin" CACHE PATH "Where to install binaries")
|
||||||
|
@ -660,3 +661,4 @@ INSTALL(FILES "${OpenMW_BINARY_DIR}/launcher.cfg" DESTINATION "${SYSCONFDIR}" )
|
||||||
# Install resources
|
# Install resources
|
||||||
INSTALL(DIRECTORY "${OpenMW_BINARY_DIR}/resources" DESTINATION "${DATADIR}" )
|
INSTALL(DIRECTORY "${OpenMW_BINARY_DIR}/resources" DESTINATION "${DATADIR}" )
|
||||||
INSTALL(FILES "${OpenMW_BINARY_DIR}/launcher.qss" DESTINATION "${DATADIR}/resources" )
|
INSTALL(FILES "${OpenMW_BINARY_DIR}/launcher.qss" DESTINATION "${DATADIR}/resources" )
|
||||||
|
endif(NOT WIN32)
|
Loading…
Reference in a new issue