aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-04-29 17:15:31 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-04-29 17:15:31 +0300
commit9692d6a9ae2fe7ca0391d1a2f725617daa80d63e (patch)
tree9c2699eb0a00956ce94c1f1b2fc5c6424ded5392 /cxx
parentCMakeLists.txt updates (diff)
downloadaes-tools-9692d6a9ae2fe7ca0391d1a2f725617daa80d63e.tar.gz
aes-tools-9692d6a9ae2fe7ca0391d1a2f725617daa80d63e.zip
split root CMakeLists.txt
Diffstat (limited to 'cxx')
-rw-r--r--cxx/CMakeLists.txt12
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)