summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDan Mick <dan.mick@redhat.com>2017-04-21 20:18:27 +0200
committerDan Mick <dan.mick@redhat.com>2017-04-21 20:18:53 +0200
commit350932979b377b292edd12dc8c612945cd793e7a (patch)
tree68b04b4d07265ff4d0e7e98d18a5b965ae40f00f /src/CMakeLists.txt
parentMerge pull request #14720 from liewegas/wip-19591 (diff)
downloadceph-350932979b377b292edd12dc8c612945cd793e7a.tar.xz
ceph-350932979b377b292edd12dc8c612945cd793e7a.zip
CMakeLists.txt: don't do crypto/isa-l if not Intel
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 39ce986a644..f5e90761586 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -841,7 +841,9 @@ add_subdirectory(compressor)
add_subdirectory(tools)
-add_subdirectory(crypto/isa-l)
+if(HAVE_INTEL)
+ add_subdirectory(crypto/isa-l)
+endif(HAVE_INTEL)
if(WITH_TESTS)