1
0
Fork 0
mirror of https://github.com/KingDuckZ/incredis synced 2025-05-10 09:13:30 +00:00

Compare commits

...

1 commit

Author SHA1 Message Date
ead1736e55 Update cmake find script
At least on Arch, I think the config.h has been
split into smaller files and version number is
in its own file now.
2021-05-02 13:47:15 +02:00

View file

@ -87,7 +87,11 @@ ELSEIF (CRYPTOPP_LIBRARY_RELEASE)
ENDIF (CRYPTOPP_LIBRARY_DEBUG AND CRYPTOPP_LIBRARY_RELEASE)
IF (CRYPTOPP_INCLUDE_DIR)
SET (_CRYPTOPP_VERSION_HEADER ${CRYPTOPP_INCLUDE_DIR}/cryptopp/config.h)
IF (EXISTS ${CRYPTOPP_INCLUDE_DIR}/cryptopp/config_ver.h)
SET (_CRYPTOPP_VERSION_HEADER ${CRYPTOPP_INCLUDE_DIR}/cryptopp/config_ver.h)
ELSE(EXISTS ${CRYPTOPP_INCLUDE_DIR}/cryptopp/config_ver.h)
SET (_CRYPTOPP_VERSION_HEADER ${CRYPTOPP_INCLUDE_DIR}/cryptopp/config.h)
ENDIF(EXISTS ${CRYPTOPP_INCLUDE_DIR}/cryptopp/config_ver.h)
IF (EXISTS ${_CRYPTOPP_VERSION_HEADER})
FILE (