2018-05-19 21:40:20 +02:00
|
|
|
project(mycryptopp)
|
|
|
|
|
2018-05-19 20:22:51 +02:00
|
|
|
set(BUILD_TESTING OFF)
|
2018-05-19 21:40:20 +02:00
|
|
|
set(BUILD_DOCUMENTATION OFF)
|
|
|
|
set(BUILD_SHARED OFF)
|
|
|
|
set(BUILD_STATIC ON)
|
|
|
|
add_subdirectory(cryptopp EXCLUDE_FROM_ALL)
|
|
|
|
|
2018-05-19 20:22:51 +02:00
|
|
|
|
2018-05-19 21:40:20 +02:00
|
|
|
add_library(cryptopp dummy.cpp)
|
|
|
|
target_link_libraries(cryptopp PRIVATE cryptopp-static)
|
|
|
|
target_include_directories(cryptopp SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|