diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index e76f53cdf..5a409d817 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -84,10 +84,10 @@ macro(detectOS) set(MAGIC_INSTALL_LOCATION "magic") 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(CMAKE_INSTALL_BINDIR "usr/bin") + set(CMAKE_INSTALL_LIBDIR "usr/lib") + set(PLUGINS_INSTALL_LOCATION "usr/share/imhex/plugins") + set(MAGIC_INSTALL_LOCATION "usr/share/imhex/magic") else() message(FATAL_ERROR "Unknown / unsupported system!") endif() @@ -267,4 +267,4 @@ macro(setDefaultBuiltTypeIfUnset) set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Using Release build type as it was left unset" FORCE) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release") endif() -endmacro() +endmacro() \ No newline at end of file