]> https://gitweb.dealii.org/ - dealii.git/commitdiff
FindARBORX: Remove library variable 12002/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 1 Apr 2021 03:51:40 +0000 (22:51 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 1 Apr 2021 03:55:18 +0000 (22:55 -0500)
ArborX is a header only library, so we don't need to specify an empty
string here :-)

cmake/modules/FindARBORX.cmake

index 6530856f328a5316bd0ed830998a620d9f837b78..e4b9b002803d4e0e1c7dac454b43a2c81cc0d9ea 100644 (file)
@@ -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
   )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.