https://github.com/root-project/root
Raw File
Tip revision: a25ba7ccbd04c7d4f828298feeee4cb189c0ac18 authored by Danilo Piparo on 30 January 2024, 08:13:32 UTC
"Update ROOT version files to v6.28/12."
Tip revision: a25ba7c
CMakeLists.txt
# Copyright (C) 1995-2019, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.

############################################################################
# CMakeLists.txt file for building ROOT math/minuit package
############################################################################

ROOT_STANDARD_LIBRARY_PACKAGE(Minuit
  HEADERS
    TFitter.h
    TLinearFitter.h
    TLinearMinimizer.h
    TMinuit.h
    TMinuitMinimizer.h
 SOURCES
    src/TFitter.cxx
    src/TLinearFitter.cxx
    src/TLinearMinimizer.cxx
    src/TMinuit.cxx
    src/TMinuitMinimizer.cxx
  DEPENDENCIES
    Graf
    Hist
    Matrix
    MathCore
  DICTIONARY_OPTIONS
    -writeEmptyRootPCM
)

if (CMAKE_BUILD_TYPE STREQUAL Optimized)
  target_compile_options(Minuit PRIVATE "-fno-fast-math")
endif()
back to top