aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/cxx/CMakeLists.txt
blob: 9dddb5ca2099877c6bc214b5bce8bc2293839cb9 (plain) (tree)
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_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
    target_compile_options(libaesxx INTERFACE -std=c++11)
endif()