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

add_library(libaesxx INTERFACE)
target_include_directories(libaesxx INTERFACE include/)
target_include_directories(libaesxx SYSTEM INTERFACE ${Boost_INCLUDE_DIRS})
target_link_libraries(libaesxx INTERFACE libaes)

if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
    target_compile_options(libaesxx INTERFACE -std=c++11)
endif()