From: Matthias Maier Date: Thu, 1 Apr 2021 03:51:40 +0000 (-0500) Subject: FindARBORX: Remove library variable X-Git-Tag: v9.3.0-rc1~250^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21d5de86b57d21dae334b6d6d49765237806aa6f;p=dealii.git FindARBORX: Remove library variable ArborX is a header only library, so we don't need to specify an empty string here :-) --- diff --git a/cmake/modules/FindARBORX.cmake b/cmake/modules/FindARBORX.cmake index 6530856f32..e4b9b00280 100644 --- a/cmake/modules/FindARBORX.cmake +++ b/cmake/modules/FindARBORX.cmake @@ -30,15 +30,13 @@ FIND_PACKAGE(ArborX HINTS ${ARBORX_DIR} ${ArborX_DIR} $ENV{ArborX_DIR} ) -SET(_libraries "") - IF(ArborX_FOUND) GET_PROPERTY(ARBORX_INSTALL_INCLUDE_DIR TARGET ArborX::ArborX PROPERTY INTERFACE_INCLUDE_DIRECTORIES) ENDIF() DEAL_II_PACKAGE_HANDLE(ARBORX - LIBRARIES REQUIRED ${_libraries} + # ArborX is a header-only library INCLUDE_DIRS REQUIRED ARBORX_INSTALL_INCLUDE_DIR USER_INCLUDE_DIRS REQUIRED ARBORX_INSTALL_INCLUDE_DIR - CLEAR ARBORX_DIR ${_libraries} + CLEAR ARBORX_DIR ArborX_DIR )