Changeset 19303


Ignore:
Timestamp:
10/24/18 23:10:30 (6 years ago)
Author:
tbretz
Message:
Some minor fix to run it with cmake compiled root.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19285 r19303  
    204204
    205205SET(CMAKE_CXX_STANDARD 11)
    206 SET(CMAKE_C_FLAGS "-pedantic")
    207206
    208207SET(CMAKE_CXX_FLAGS
     
    233232
    234233# Flags required for Dim
    235 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DMIPSEL -DPROTOCOL=1 -Dunix -Dlinux")
     234SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -DMIPSEL -DPROTOCOL=1 -Dunix -Dlinux")
    236235
    237236# --------- ROOT -------------
    238237
    239238#IF(EXISTS "$ENV{ROOTSYS}/ROOTConfig.cmake")
    240 IF(DEFINED $ENV{CMAKE_PREFIX_PATH}) # -- This is supposed to be root 6 --
     239IF(DEFINED ENV{CMAKE_PREFIX_PATH}) # -- This is supposed to be root 6 --
    241240   # You need to tell CMake where to find the ROOT installation. This can be done in a number of ways:
    242241   #   - ROOT built with classic configure/make use the provided $ROOTSYS/etc/cmake/FindROOT.cmake
     
    286285# -------------------------------------------------------
    287286
     287INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
    288288INCLUDE_DIRECTORIES(pal)
    289289INCLUDE_DIRECTORIES(erfa/src)
Note: See TracChangeset for help on using the changeset viewer.