On 01/21/2014 10:05 AM, Schlottke, Michael wrote: > > However, I noticed that CMake adds the '-fPIE' flag to the compilation > flags without me asking for it. Maybe there is a set(CMAKE_POSITION_INDEPENDENT_CODE ON) in the project or the POSITION_INDEPENDENT_CODE property is set for the target itself? Nils