Skip to content

Commit

Permalink
try to find vcpkg cryptopp with FindCryptoPP.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
tfussell committed Mar 11, 2017
1 parent eb078dc commit f7e8e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install:
- cd ..

before_build:
- cmake -H. -Bbuild -G"Visual Studio 14 2015" -DSTATIC=%STATIC% -DSAMPLES=ON -DBENCHMARKS=ON -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -DCRYPTOPP_LIBRARY=vcpkg/installed/x86-windows/lib/cryptopp-static.lib
- cmake -H. -Bbuild -G"Visual Studio 14 2015" -DSTATIC=%STATIC% -DSAMPLES=ON -DBENCHMARKS=ON -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake

build:
project: build/tests/xlnt.test.sln
Expand Down
2 changes: 1 addition & 1 deletion third-party/FindCryptoPP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ FIND_LIBRARY (CRYPTOPP_LIBRARY_DEBUG
DOC "CryptoPP debug library")

FIND_LIBRARY (CRYPTOPP_LIBRARY_RELEASE
NAMES cryptlib cryptopp
NAMES cryptlib cryptopp cryptopp-static
HINTS ${CRYPTOPP_ROOT_DIR}
PATH_SUFFIXES lib
DOC "CryptoPP release library")
Expand Down

0 comments on commit f7e8e40

Please sign in to comment.