diff options
Diffstat (limited to '')
-rw-r--r-- | lib/cryptopp/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/cryptopp/CMakeLists.txt b/lib/cryptopp/CMakeLists.txt new file mode 100644 index 000000000..e0e65c818 --- /dev/null +++ b/lib/cryptopp/CMakeLists.txt @@ -0,0 +1,15 @@ + +cmake_minimum_required (VERSION 2.6) +project (cryptopp) + +if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCRYPTOPP_DISABLE_ASM") +endif() +include_directories ("${PROJECT_SOURCE_DIR}/../../src/") + +file(GLOB cryptopp_SRC + "*.h" + "*.cpp" +) + +add_library(cryptopp ${cryptopp_SRC}) |