Browse Source

Unset CMAKE_SHARED_MODULE_PREFIX to prevent building modules as lib<name>.so. Modules names are <name>.so.

ObjPtr
Michael Uleysky 9 years ago
parent
commit
602fcdf675
  1. 2
      CMakeLists.txt

2
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})

Loading…
Cancel
Save