diff options
Diffstat (limited to 'cxx')
-rw-r--r-- | cxx/CMakeLists.txt | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/cxx/CMakeLists.txt b/cxx/CMakeLists.txt index d54caae..1c028c0 100644 --- a/cxx/CMakeLists.txt +++ b/cxx/CMakeLists.txt @@ -1,10 +1,6 @@ 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() +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) |