mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 16:45:17 -04:00
Mac: further fixes for new resource folder location
This commit is contained in:
parent
e48d265b5d
commit
b7c006b898
6
extern/caelum/CMakeLists.txt
vendored
6
extern/caelum/CMakeLists.txt
vendored
@ -19,11 +19,7 @@ add_library(caelum STATIC ${SOURCES})
|
|||||||
#
|
#
|
||||||
# Resources
|
# Resources
|
||||||
#
|
#
|
||||||
if (APPLE)
|
SET(CAELUM_RES_DEST "${OpenMW_BINARY_DIR}")
|
||||||
SET(CAELUM_RES_DEST "${APP_BUNDLE_DIR}/Contents/Resources")
|
|
||||||
else (APPLE)
|
|
||||||
SET(CAELUM_RES_DEST "${OpenMW_BINARY_DIR}")
|
|
||||||
endif (APPLE)
|
|
||||||
|
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/resources/AtmosphereDepth.png "${CAELUM_RES_DEST}/resources/caelum/AtmosphereDepth.png" COPYONLY)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/resources/AtmosphereDepth.png "${CAELUM_RES_DEST}/resources/caelum/AtmosphereDepth.png" COPYONLY)
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/resources/CaelumGroundFog.cg "${CAELUM_RES_DEST}/resources/caelum/CaelumGroundFog.cg" COPYONLY)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/resources/CaelumGroundFog.cg "${CAELUM_RES_DEST}/resources/caelum/CaelumGroundFog.cg" COPYONLY)
|
||||||
|
6
extern/mygui_3.0.1/CMakeLists.txt
vendored
6
extern/mygui_3.0.1/CMakeLists.txt
vendored
@ -22,11 +22,7 @@ add_subdirectory(OgrePlatform)
|
|||||||
|
|
||||||
# Copy resource files into the build directory
|
# Copy resource files into the build directory
|
||||||
set(SDIR ${CMAKE_CURRENT_SOURCE_DIR}/openmw_resources)
|
set(SDIR ${CMAKE_CURRENT_SOURCE_DIR}/openmw_resources)
|
||||||
if (APPLE)
|
set(DDIR ${OpenMW_BINARY_DIR}/resources/mygui)
|
||||||
set(DDIR ${APP_BUNDLE_DIR}/Contents/Resources/resources/mygui)
|
|
||||||
else (APPLE)
|
|
||||||
set(DDIR ${OpenMW_BINARY_DIR}/resources/mygui)
|
|
||||||
endif (APPLE)
|
|
||||||
|
|
||||||
configure_file("${SDIR}/bigbars.png" "${DDIR}/bigbars.png" COPYONLY)
|
configure_file("${SDIR}/bigbars.png" "${DDIR}/bigbars.png" COPYONLY)
|
||||||
configure_file("${SDIR}/black.png" "${DDIR}/black.png" COPYONLY)
|
configure_file("${SDIR}/black.png" "${DDIR}/black.png" COPYONLY)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user