mirror of
https://github.com/KingDuckZ/incredis
synced 2024-11-23 00:33:46 +00:00
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.
This commit is contained in:
parent
3eaa09f3d8
commit
ead1736e55
1 changed files with 5 additions and 1 deletions
|
@ -87,7 +87,11 @@ ELSEIF (CRYPTOPP_LIBRARY_RELEASE)
|
|||
ENDIF (CRYPTOPP_LIBRARY_DEBUG AND CRYPTOPP_LIBRARY_RELEASE)
|
||||
|
||||
IF (CRYPTOPP_INCLUDE_DIR)
|
||||
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 (
|
||||
|
|
Loading…
Reference in a new issue