From e6c150c586f82db0f2d7750c3701a94673ec24c6 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 25 Aug 2021 13:57:16 +0200 Subject: [PATCH] build: Don't install resources, they are embedded --- cmake/build_helpers.cmake | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index d4d9d683c..6bb1e88d8 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -76,21 +76,18 @@ macro(detectOS) set(CMAKE_INSTALL_LIBDIR ".") set(PLUGINS_INSTALL_LOCATION "plugins") set(MAGIC_INSTALL_LOCATION "magic") - set(RESOURCES_INSTALL_LOCATION "resources") elseif(APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DOS_MACOS") set(CMAKE_INSTALL_BINDIR ".") set(CMAKE_INSTALL_LIBDIR ".") set(PLUGINS_INSTALL_LOCATION "plugins") set(MAGIC_INSTALL_LOCATION "magic") - set(RESOURCES_INSTALL_LOCATION "resources") elseif(UNIX AND NOT APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DOS_LINUX") set(CMAKE_INSTALL_BINDIR "bin") set(CMAKE_INSTALL_LIBDIR "lib") set(PLUGINS_INSTALL_LOCATION "share/imhex/plugins") set(MAGIC_INSTALL_LOCATION "share/imhex/magic") - set(RESOURCES_INSTALL_LOCATION "share/imhex/resources") else() message(FATAL_ERROR "Unknown / unsupported system!") endif() @@ -237,10 +234,6 @@ macro(createPackage) # Install the magicdb files. install(FILES ${CMAKE_CURRENT_BINARY_DIR}/magic_dbs.mgc DESTINATION ${MAGIC_INSTALL_LOCATION} RENAME imhex.mgc) - # Install resources - install(DIRECTORY ${CMAKE_SOURCE_DIR}/res/resources/ DESTINATION ${RESOURCES_INSTALL_LOCATION}) - - if (CREATE_BUNDLE) include(PostprocessBundle)