blob: 21ed76ec836c7d9d31f4598b96979b68b0a7c85d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_library(aesxx INTERFACE)
target_include_directories(aesxx INTERFACE include/)
target_link_libraries(aesxx INTERFACE aes)
if(WIN32)
target_link_libraries(aesxx INTERFACE dbghelp)
endif()
if(MSVC_VERSION EQUAL 1900)
# These annoying dbghelp.h warnings:
# https://connect.microsoft.com/VisualStudio/feedback/details/888527/warnings-on-dbghelp-h
target_compile_options(aesxx INTERFACE /wd4091)
endif()
install(DIRECTORY include/aesxx DESTINATION include)
add_subdirectory(utils)
|