mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-22 04:25:11 +00:00
Use CMAKE_INSTALL_FULL_DATADIR
This commit is contained in:
parent
413050e660
commit
5ec7c4a541
1 changed files with 2 additions and 2 deletions
|
@ -1076,7 +1076,7 @@ if (NOT ANDROID OR TERMUX)
|
|||
install(DIRECTORY papers DESTINATION ${CMAKE_INSTALL_DOCDIR}/other)
|
||||
install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_DATADIR}/licenses/furnace)
|
||||
if (WITH_DEMOS OR WITH_INSTRUMENTS OR WITH_WAVETABLES)
|
||||
set(FURNACE_DATADIR ${CMAKE_INSTALL_DATADIR}/furnace)
|
||||
set(FURNACE_DATADIR ${CMAKE_INSTALL_FULL_DATADIR}/furnace)
|
||||
if (WITH_DEMOS)
|
||||
install(DIRECTORY demos DESTINATION ${FURNACE_DATADIR})
|
||||
endif()
|
||||
|
@ -1086,7 +1086,7 @@ if (NOT ANDROID OR TERMUX)
|
|||
if (WITH_WAVETABLES)
|
||||
install(DIRECTORY wavetables DESTINATION ${FURNACE_DATADIR})
|
||||
endif()
|
||||
add_compile_definitions(FURNACE_DATADIR="${CMAKE_INSTALL_PREFIX}/${FURNACE_DATADIR}")
|
||||
add_compile_definitions(FURNACE_DATADIR="${FURNACE_DATADIR}")
|
||||
if (SHOW_OPEN_ASSETS_MENU_ENTRY)
|
||||
add_compile_definitions(SHOW_OPEN_ASSETS_MENU_ENTRY)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue