the crypto_plugins target was defined in
src/crypto/isa-l/CMakeLists.txt, but this is only included
if(HAVE_INTEL AND HAVE_BETTER_YASM_ELF64 AND (NOT APPLE))
moving it out of the if() block allows the os target to depend on it
even if no plugins are built
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
61516bcfac4dff53d0e24f6c4623127465c46d9d)
add_subdirectory(dmclock/support/test)
endif(WITH_TESTS AND WITH_DMCLOCK_TESTS)
-if(HAVE_INTEL AND HAVE_BETTER_YASM_ELF64 AND (NOT APPLE))
- add_subdirectory(crypto/isa-l)
-endif()
+add_subdirectory(crypto)
if(WITH_TESTS)
configure_file(${CMAKE_SOURCE_DIR}/src/ceph-coverage.in
--- /dev/null
+add_custom_target(crypto_plugins)
+
+if(HAVE_INTEL AND HAVE_BETTER_YASM_ELF64 AND (NOT APPLE))
+ add_subdirectory(isa-l)
+endif()
target_include_directories(isal_crypto_plugin_objs PRIVATE ${isal_dir}/include)
set(isal_crypto_plugin_dir ${CMAKE_INSTALL_PKGLIBDIR}/crypto)
-add_custom_target(crypto_plugins)
if(HAVE_GOOD_YASM_ELF64)
add_dependencies(crypto_plugins ceph_crypto_isal)
endif(HAVE_GOOD_YASM_ELF64)