diff -r 4fc0e95e7b64 -r a8a717cf4a66 CMakeLists.txt --- a/CMakeLists.txt Mon Jun 10 16:46:58 2013 +0200 +++ b/CMakeLists.txt Tue Jun 11 10:45:34 2013 +0200 @@ -16,6 +16,8 @@ option(NOPNG "Disable screenshoot compression (off)" OFF) option(NOVIDEOREC "Disable video recording (off)" OFF) +#libraries are built shared unless explicitly added as a static +option(BUILD_SHARED_LIBS "Build libraries as shared modules (on)" ON) #set this to ON when 2.1.0 becomes more widespread (and only for linux) option(PHYSFS_SYSTEM "Use system physfs (off)" OFF)