OpenMC/examples/custom_source/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
272 B
Text
Raw Permalink Normal View History

cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
2020-03-13 16:13:53 -05:00
project(openmc_sources CXX)
add_library(source SHARED source_ring.cpp)
find_package(OpenMC REQUIRED)
if (OpenMC_FOUND)
message(STATUS "Found OpenMC: ${OpenMC_DIR}")
endif()
target_link_libraries(source OpenMC::libopenmc)