From 602fcdf6751d9b0f2cfcfb461ae2eafa7346e45e Mon Sep 17 00:00:00 2001 From: Michael Uleysky Date: Fri, 12 Feb 2016 22:33:52 +1000 Subject: [PATCH] Unset CMAKE_SHARED_MODULE_PREFIX to prevent building modules as lib.so. Modules names are .so. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5116050..2969199 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,6 +97,8 @@ file(GLOB extramodules extramodules/*) set(STATIC_MODULES "") +set(CMAKE_SHARED_MODULE_PREFIX "") + foreach(ext ${modules}) if(EXISTS ${ext}/CMakeLists.txt) string(REGEX REPLACE .*/ "" modname ${ext})