diff --git a/CMakeLists.txt b/CMakeLists.txt index d2a0c09b5..0e364a8c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,13 +114,13 @@ if(PkgConfig) endif() # LIBAIO -find_library(LIBAIO_LIBRARY NAMES aio) -if(LIBAIO_LIBRARY) - message(STATUS "found libaio at ${LIBAIO_LIBRARY}") -else() - set(LIBAIO_LIBRARY aio) - message(STATUS "Assuming it was installed with our aio spack") -endif() +#find_library(LIBAIO_LIBRARY NAMES aio) +#if(LIBAIO_LIBRARY) +# message(STATUS "found libaio at ${LIBAIO_LIBRARY}") +#else() +# set(LIBAIO_LIBRARY aio) +# message(STATUS "Assuming it was installed with our aio spack") +#endif() # Zeromq #pkg_check_modules(ZMQ REQUIRED libzmq) diff --git a/tasks/posix_bdev/src/CMakeLists.txt b/tasks/posix_bdev/src/CMakeLists.txt index 0d546d927..75695cf98 100644 --- a/tasks/posix_bdev/src/CMakeLists.txt +++ b/tasks/posix_bdev/src/CMakeLists.txt @@ -4,7 +4,7 @@ add_library(posix_bdev SHARED posix_bdev.cc) add_dependencies(posix_bdev ${Hermes_RUNTIME_DEPS}) -target_link_libraries(posix_bdev ${Hermes_RUNTIME_LIBRARIES} ${LIBAIO_LIBRARY}) +target_link_libraries(posix_bdev ${Hermes_RUNTIME_LIBRARIES}) #------------------------------------------------------------------------------ # Install Small Message Task Library