From: Kefu Chai Date: Sun, 2 Apr 2017 17:05:57 +0000 (+0800) Subject: cmake: point to asm_compiler to yasm only if HAVE_INTEL X-Git-Tag: v12.0.2~209^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3ebe721a91a2a626702a98262d526bcc6e72bd6f;p=ceph.git cmake: point to asm_compiler to yasm only if HAVE_INTEL as currently only isa uses it. Signed-off-by: Kefu Chai --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d6388e805af2..49e2e25a893f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -82,7 +82,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL GNU) endif(CMAKE_CXX_COMPILER_ID STREQUAL GNU) include(SIMDExt) -if(NOT HAVE_PPC64LE) +if(HAVE_INTEL) set(CMAKE_ASM_COMPILER ${PROJECT_SOURCE_DIR}/src/yasm-wrapper) set(CMAKE_ASM_FLAGS "-f elf64") endif()