Commit 2eb1844990609fdf1c7d4c66e4f5a1dd397cd816

Scott J. Goldman 2012-05-26T18:20:33

Refactor CMakeLists.txt for mingw cross-compile Two things: 1) By default, Linux CMake puts -fPIC on the link line. So we remove that for MINGW to avoid warnings that it will be ignored. 2) Similarly, move -fvisibility=hidden flag to be for non-mingw compilation only to avoid warnings that it will be ignored.