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

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

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