Skip to content
  • Chuck Atkins's avatar
    Drop executable symbol export if platform does not support shared libs · e90f463a
    Chuck Atkins authored and Brad King's avatar Brad King committed
    Instead of always adding CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS to
    executables, or just when the ENABLE_EXPORTS property is set (CMP0065),
    make sure that the target platform also actually supports shared
    libraries.  If not, then the executable cannot possibly provide symbols
    to them anyway.
    e90f463a