mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 06:16:49 +00:00
af14f1f2c3
We remove the shared library compile/link flags "-fPIC" and "-shared" because they are not provided by all compilers on Linux. This allows us to drop code from the Linux-XL-*.cmake files that erases the bad flags. All other supported compilers already provide their correct flags for Linux in their own platform information files.
2 lines
56 B
CMake
2 lines
56 B
CMake
SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-qmkshrobj")
|