You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
due to a change in OpenSUSE release the cmake does not detect correctly the distro and mess up the lib dir install.
See here my simple patch which uses the firewall config (always present) to detect the disro.
The trick is used in many other plugin.
diff --git a/cmake/PluginInstall.cmake b/cmake/PluginInstall.cmake
index efc5ee0..ad6ba71 100644
--- a/cmake/PluginInstall.cmake
+++ b/cmake/PluginInstall.cmake
@@ -92,7 +92,7 @@ IF (NOT WIN32)
SET (LIB_INSTALL_DIR "lib")
ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8")
ENDIF (EXISTS /etc/redhat-release)
IF (EXISTS /etc/suse-release OR EXISTS /etc/SuSE-release)
IF (EXISTS /etc/suse-release OR EXISTS /etc/SuSE-release OR EXISTS /etc/sysconfig/SuSEfirewall2.d)
SET (PACKAGE_FORMAT "RPM")
SET (PACKAGE_DEPS "libwx_baseu-2_8-0-wxcontainer MesaGLw libbz2-1 portaudio")
IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
The text was updated successfully, but these errors were encountered:
due to a change in OpenSUSE release the cmake does not detect correctly the distro and mess up the lib dir install.
See here my simple patch which uses the firewall config (always present) to detect the disro.
The trick is used in many other plugin.
diff --git a/cmake/PluginInstall.cmake b/cmake/PluginInstall.cmake
index efc5ee0..ad6ba71 100644
--- a/cmake/PluginInstall.cmake
+++ b/cmake/PluginInstall.cmake
@@ -92,7 +92,7 @@ IF (NOT WIN32)
SET (LIB_INSTALL_DIR "lib")
ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8")
ENDIF (EXISTS /etc/redhat-release)
SET (PACKAGE_FORMAT "RPM")
SET (PACKAGE_DEPS "libwx_baseu-2_8-0-wxcontainer MesaGLw libbz2-1 portaudio")
IF (CMAKE_SIZEOF_VOID_P MATCHES "8")The text was updated successfully, but these errors were encountered: