Skip to content

Commit

Permalink
Use fclConfig.cmake (#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 authored Dec 24, 2021
1 parent 4ec3e28 commit 261e28c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/DARTFindfcl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
#
# This file is provided under the "BSD-style" License

find_package(fcl 0.5.0 REQUIRED MODULE)
find_package(fcl 0.5.0 CONFIG)
if(NOT FCL_FOUND AND NOT fcl_FOUND)
find_package(fcl 0.5.0 REQUIRED MODULE)
endif()

# Set target fcl if not set
# Upstream provides the target since 0.5.0 but some package managers don't
Expand Down

0 comments on commit 261e28c

Please sign in to comment.