Attach Boost and SYSTEM def to Nix target instead of plugin
Dependencies
- [2]
7YS2X7JJFix compilation against older Nix versions (tested with 2.13.6) - [3]
3KEFKH5FImport existing code
Change contents
- replacement in CMakeLists.txt at line 31
"NIX_VERSION=(((0x${Nix_MAJOR_VERSION})<<16) | ((0x${Nix_MINOR_VERSION})<<8) | (0x${Nix_PATCH_VERSION}))")"NIX_VERSION=(((0x${Nix_MAJOR_VERSION})<<16) | ((0x${Nix_MINOR_VERSION})<<8) | (0x${Nix_PATCH_VERSION}))"SYSTEM="")target_link_libraries(PkgConfig::NixINTERFACEBoost::headers) - replacement in src/CMakeLists.txt at line 9
target_link_libraries(pijul PUBLICPkgConfig::NixBoost::headers)target_link_libraries(pijulPUBLICPkgConfig::Nix) - edit in src/CMakeLists.txt at line 13
target_compile_definitions(pijul PRIVATE SYSTEM="")