From 9692d6a9ae2fe7ca0391d1a2f725617daa80d63e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 Apr 2017 17:15:31 +0300 Subject: split root CMakeLists.txt --- cxx/CMakeLists.txt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'cxx') 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) -- cgit v1.2.3