CMakeLists.txt
6.47 KB
-
Refactor CMakeLists.txt for mingw cross-compile · 2eb18449
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.
Scott J. Goldman committed