aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx/CMakeLists.txt
blob: 2c265f5e8e1e174c91a278b6dd3278881e3da1aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
find_package(Boost REQUIRED)

add_library(aesxx INTERFACE)
target_include_directories(aesxx INTERFACE include/)
target_include_directories(aesxx SYSTEM INTERFACE ${Boost_INCLUDE_DIRS})
target_link_libraries(aesxx INTERFACE aes)

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()