LE GARREC Vincent
LE GARREC Vincent
This looks good. You do: ``` if (OPENXLSX_ENABLE_NOWIDE) if (OPENXLSX_ENABLE_LIBBOOST_NOWIDE) find_package(Boost 1.74 REQUIRED COMPONENTS nowide) # on Linux at least, this requires libboost-nowide-dev to be installed else() add_library(NoWide INTERFACE IMPORTED)...
If `nowide` may not be header-only, you will probably need to use `PUBLIC` in `target_link_libraries` to allow static linkage.
> > If `nowide` may not be header-only, you will probably need to use `PUBLIC` in `target_link_libraries` to allow static linkage. > > Oh yeah that was something I did...
* libzip cmake files > Hi again! I commited [17aee0e](https://github.com/troldal/OpenXLSX/commit/17aee0e496fb19fe30906693086d69ee7c8690ee) which implements `find_package` for `LibZip` and `PugiXML`. However, I just wasted 3+ hours of my life trying to find out...
> > Read /usr/lib/x86_64-linux-gnu/cmake/libzip/libzip-config.cmake > > There is an include libzip-targets.cmake > > You can see that zipcmp / zipmerge / ziptool is hardcoded. So they are mandatory. > >...