Skip to content

Commit 7bd4385

Browse files
committed
use system crypto++ instead of compiling from source code
1 parent a311a0d commit 7bd4385

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ set(LUA_INCLUDE_DIR Externals/LuaJIT/src)
3333

3434
set(LUA_FOUND 1)
3535
if (NOT WIN32)
36+
if(EXISTS ${CMAKE_SOURCE_DIR}/Externals/cryptopp/dsa.h)
37+
file(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Externals/cryptopp)
38+
file(MAKE_DIRECTORY ${CMAKE_SOURCE_DIR}/Externals/cryptopp)
39+
endif()
3640
find_package(FreeImage REQUIRED)
3741
find_package(LockFile REQUIRED)
3842
find_package(OpenAL REQUIRED)

0 commit comments

Comments
 (0)