--- util/CMakeLists.txt.orig 2014-11-01 06:04:28 UTC +++ util/CMakeLists.txt @@ -1,3 +1,5 @@ +ADD_DEFINITIONS(-fPIC) + add_library(vglutil STATIC GenericQ.cpp Log.cpp Mutex.cpp Thread.cpp bmp.c) if(UNIX) target_link_libraries(vglutil pthread)