diff -Nrup a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt 2020-05-08 17:41:00.000000000 +0200 +++ b/CMakeLists.txt 2021-04-26 05:02:26.920942866 +0200 @@ -276,7 +276,7 @@ if(NOT MSVC) } " SCANDIR_NEEDS_CONST) - set(OB_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/${OB_PLUGIN_INSTALL_DIR}") + set(OB_MODULE_PATH "${OB_PLUGIN_INSTALL_DIR}") # Add some visibility support when using GCC # note: Altough MinGW g++ 4.4 passes this test, visibility can't be used