asmaloney / libE57Format

Library for reading & writing the E57 file format
Boost Software License 1.0
137 stars 66 forks source link

{cmake} Add option "E57_RELEASE_LTO" to control link-time optimization for release builds #254

Closed asmaloney closed 1 year ago

asmaloney commented 1 year ago

CMake forces "thin" LTO (see this issue) which is a problem if compiling statically for distribution (e.g. in a package manager). Generally you will only want to turn this off for distributing static release builds.

asmaloney commented 1 year ago

@marxin Would this help solve one of your other issues with conan?

marxin commented 1 year ago

Yes, this change would definitely help!