mac os bundles should not put libraries/addins in a subfolder.
@@ -961,16 +961,11 @@ endif()
# Android expects all libraries to be loadable
# without paths.
-if (ANDROID OR WIN32)
+if (ANDROID OR WIN32 OR MAC_BUNDLE)
set(FREERDP_DATA_PATH "share")
set(FREERDP_INSTALL_PREFIX ".")
set(FREERDP_LIBRARY_PATH ".")
set(FREERDP_PLUGIN_PATH ".")
-elseif (MAC_BUNDLE)
- set(FREERDP_INSTALL_PREFIX "./")
- set(FREERDP_DATA_PATH "${FREERDP_INSTALL_PREFIX}/share/freerdp${FREERDP_VERSION_MAJOR}")
- set(FREERDP_LIBRARY_PATH "./")
- set(FREERDP_PLUGIN_PATH "${FREERDP_LIBRARY_PATH}/freerdp${FREERDP_VERSION_MAJOR}")
else()
set(FREERDP_DATA_PATH "${CMAKE_INSTALL_PREFIX}/share/freerdp${FREERDP_VERSION_MAJOR}")
set(FREERDP_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
