https://github.com/root-project/root
Raw File
Tip revision: 758899052bf7ec80b139a9235374811fe1ae735a authored by Axel Naumann on 21 December 2022, 10:24:49 UTC
"Update ROOT version files to v6.27/02."
Tip revision: 7588990
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