Ignore:
Timestamp:
09/07/18 12:06:04 (6 years ago)
Author:
tbretz
Message:
Nova needs to be linked with Time already, skip uknown pragmas (mainly for gcc)
File:
1 edited

Legend:

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

    r19192 r19216  
    185185        "${CMAKE_CXX_FLAGS} -Wall -Winit-self -Wpointer-arith \
    186186         -Wcast-align -Wformat=2 -Woverloaded-virtual \
    187          -Wnon-virtual-dtor -Wshadow") # -Wextra
     187         -Wnon-virtual-dtor -Wshadow -Wno-unknown-pragmas") # -Wextra
    188188
    189189# FIXME: Move that to config.h.in
     
    393393ADD_LIBRARY(Time SHARED
    394394        src/Time.h src/Time.cc)
    395 #TARGET_LINK_LIBRARIES(Time)# ${NOVA_LIBRARY})
     395TARGET_LINK_LIBRARIES(Time ${NOVA_LIBRARY})
    396396
    397397# ===================== libTools.so ======================
     
    497497
    498498ADD_EXECUTABLE(calcsource src/calcsource.cc)
    499 TARGET_LINK_LIBRARIES(calcsource ${HELP++LIBS} ${ROOT_LIBRARIES} ${NOVA_LIBRARY})
     499TARGET_LINK_LIBRARIES(calcsource ${HELP++LIBS} ${ROOT_LIBRARIES})
    500500MANPAGE(calcsource "")
    501501
     
    507507
    508508ADD_EXECUTABLE(makeplots src/makeplots.cc)
    509 TARGET_LINK_LIBRARIES(makeplots  ${HELP++LIBS} ${ROOT_LIBRARIES} ${NOVA_LIBRARY})
     509TARGET_LINK_LIBRARIES(makeplots  ${HELP++LIBS} ${ROOT_LIBRARIES})
    510510MANPAGE(makeplots "")
    511511
    512512ADD_EXECUTABLE(makedata src/makedata.cc)
    513 TARGET_LINK_LIBRARIES(makedata ${HELP++LIBS} ${NOVA_LIBRARY})
     513TARGET_LINK_LIBRARIES(makedata ${HELP++LIBS})
    514514MANPAGE(makedata "")
    515515
    516516ADD_EXECUTABLE(makeschedule src/makeschedule.cc)
    517 TARGET_LINK_LIBRARIES(makeschedule ${HELP++LIBS} ${NOVA_LIBRARY})
     517TARGET_LINK_LIBRARIES(makeschedule ${HELP++LIBS})
    518518MANPAGE(makeschedule "")
    519519
     
    568568        src/InterpreterV8.cc
    569569        src/DimState.cc)
    570 TARGET_LINK_LIBRARIES(dimctrl ${FACT++LIBS} ${NOVA_LIBRARY} Pointing ZLIB::ZLIB v8)
     570TARGET_LINK_LIBRARIES(dimctrl ${FACT++LIBS} Pointing ZLIB::ZLIB v8)
    571571MANPAGE(dimctrl "")
    572572
     
    577577
    578578ADD_EXECUTABLE(drivectrl src/drivectrl.cc)
    579 TARGET_LINK_LIBRARIES(drivectrl ${FACT++LIBS} ${NOVA_LIBRARY} Pointing)
     579TARGET_LINK_LIBRARIES(drivectrl ${FACT++LIBS} Pointing)
    580580MANPAGE(drivectrl "")
    581581
    582582ADD_EXECUTABLE(evtserver src/evtserver.cc)
    583 TARGET_LINK_LIBRARIES(evtserver ${FACT++LIBS} ${NOVA_LIBRARY} ZLIB::ZLIB)
     583TARGET_LINK_LIBRARIES(evtserver ${FACT++LIBS} ZLIB::ZLIB)
    584584MANPAGE(evtserver "")
    585585
     
    608608
    609609ADD_EXECUTABLE(gcn src/gcn.cc)
    610 TARGET_LINK_LIBRARIES(gcn ${FACT++LIBS} ${NOVA_LIBRARY} Qt4::QtXml)
     610TARGET_LINK_LIBRARIES(gcn ${FACT++LIBS} Qt4::QtXml)
    611611MANPAGE(gcn "")
    612612
     
    664664
    665665ADD_EXECUTABLE(smartfact src/smartfact.cc)
    666 TARGET_LINK_LIBRARIES(smartfact ${FACT++LIBS} ${NOVA_LIBRARY}) # HAVE_NOVA
     666TARGET_LINK_LIBRARIES(smartfact ${FACT++LIBS}) # HAVE_NOVA
    667667MANPAGE(smartfact "")
    668668
Note: See TracChangeset for help on using the changeset viewer.