Skip to content

Commit

Permalink
Adding additional output during CMake configuration when double down …
Browse files Browse the repository at this point in the history
…is enabled
  • Loading branch information
pshriwise committed Oct 8, 2024
1 parent 24e8124 commit a9c89ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/DAGMC_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,13 @@ macro (dagmc_setup_options)
endif()

if (DOUBLE_DOWN)
message(STATUS "DOUBLE_DOWN has been enabled for ray tracing. Searching for package...")
find_package(DOUBLE_DOWN REQUIRED)
if (dd_VERSION VERSION_LESS 1.1.0)
message(FATAL_ERROR "Discovered Double Down Version: ${DOUBLE_DOWN_VERSION}. \
Please update Double Down to version 1.1.0 or greater.")
endif()
message(STATUS "Found DOUBLE_DOWN.")
endif()


Expand Down

0 comments on commit a9c89ee

Please sign in to comment.