diff options
Diffstat (limited to 'packages/net-im/spectrum/spectrum.exlib')
-rw-r--r-- | packages/net-im/spectrum/spectrum.exlib | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/net-im/spectrum/spectrum.exlib b/packages/net-im/spectrum/spectrum.exlib index 09b1be6..5ef1ff3 100644 --- a/packages/net-im/spectrum/spectrum.exlib +++ b/packages/net-im/spectrum/spectrum.exlib @@ -84,8 +84,13 @@ if ever at_least 2.0.8; then # replace complicated broken module by simple pkg-config search # https://github.com/SpectrumIM/spectrum2/issues/300 - edo rm "${CMAKE_SOURCE}"/cmake_modules/Findjsoncpp.cmake - edo cp "${FILES}"/Findjsoncpp.cmake "${CMAKE_SOURCE}"/cmake_modules/Findjsoncpp.cmake + if ever is_scm; then + edo rm "${CMAKE_SOURCE}"/cmake_modules/FindJsonCpp.cmake + edo cp "${FILES}"/Findjsoncpp.cmake "${CMAKE_SOURCE}"/cmake_modules/FindJsonCpp.cmake + else + edo rm "${CMAKE_SOURCE}"/cmake_modules/Findjsoncpp.cmake + edo cp "${FILES}"/Findjsoncpp.cmake "${CMAKE_SOURCE}"/cmake_modules/Findjsoncpp.cmake + fi } fi |