cmake_minimum_required(VERSION 3.12)
project(06-NeutronCapture)

set(CMAKE_BUILD_TYPE RelWithDebInfo)

if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
  # stand-alone build.
  find_package(remage REQUIRED)
endif()

add_executable(06-NeutronCapture main.cc HPGeTestStand.hh HPGeTestStand.cc IsotopeOutputScheme.cc
                                 IsotopeOutputScheme.hh)
target_link_libraries(06-NeutronCapture PUBLIC RMG::remage)
