Changeset 20068 for trunk/FACT++
- Timestamp:
- 04/12/21 14:45:56 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/CMakeLists.txt
r20060 r20068 732 732 TARGET_LINK_LIBRARIES(fitsdump ${HELP++LIBS} ${ROOT_LIBRARIES} ZLIB::ZLIB) 733 733 MANPAGE(fitsdump "FACT++ - fitsdump - Read and dump contents of a FITStable") 734 # This is a hack to suppress warnings from root headers (-isystem) 735 TARGET_INCLUDE_DIRECTORIES(fitsdump SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS}) 734 736 735 737 ADD_EXECUTABLE(rootifysql src/rootifysql.cc) 736 738 TARGET_LINK_LIBRARIES(rootifysql ${HELP++LIBS} OpenSSL::SSL ${ROOT_LIBRARIES}) 737 739 MANPAGE(rootifysql "FACT++ - rootifysql - Write result of a SQL query into a root-file") 740 # This is a hack to suppress warnings from root headers (-isystem) 741 TARGET_INCLUDE_DIRECTORIES(rootifysql SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS}) 742 738 743 ADD_EXECUTABLE(root2sql src/root2sql.cc) 739 744 TARGET_LINK_LIBRARIES(root2sql ${HELP++LIBS} OpenSSL::SSL ${MYSQLPP_LIBRARY} ${ROOT_LIBRARIES}) 740 745 MANPAGE(root2sql "FACT++ - root2sql - Fill contents of a root-tree into a MySQL database") 746 # This is a hack to suppress warnings from root headers (-isystem) 747 TARGET_INCLUDE_DIRECTORIES(root2sql SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS}) 741 748 742 749 ADD_EXECUTABLE(root2csv src/root2csv.cc) 743 750 TARGET_LINK_LIBRARIES(root2csv ${HELP++LIBS} ${ROOT_LIBRARIES}) 744 751 MANPAGE(root2csv "FACT++ - root2csv - Convert a root-tree to a csv file") 752 # This is a hack to suppress warnings from root headers (-isystem) 753 TARGET_INCLUDE_DIRECTORIES(root2csv SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS}) 745 754 746 755 ADD_EXECUTABLE(csv2root src/csv2root.cc) 747 756 TARGET_LINK_LIBRARIES(csv2root ${HELP++LIBS} ${ROOT_LIBRARIES}) 748 757 MANPAGE(csv2root "FACT++ - csv2root - Convert a csv file to a root-tree") 758 # This is a hack to suppress warnings from root headers (-isystem) 759 TARGET_INCLUDE_DIRECTORIES(csv2root SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS}) 749 760 ENDIF() 750 761 … … 773 784 TARGET_LINK_LIBRARIES(calcsource ${HELP++LIBS} ${ROOT_LIBRARIES}) 774 785 MANPAGE(calcsource "") 786 # This is a hack to suppress warnings from root headers (-isystem) 787 TARGET_INCLUDE_DIRECTORIES(calcsource SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS}) 775 788 776 789 ADD_EXECUTABLE(calcsourcemc src/calcsourcemc.cc) 777 790 TARGET_LINK_LIBRARIES(calcsourcemc ${HELP++LIBS} ${ROOT_LIBRARIES}) 778 791 MANPAGE(calcsourcemc "") 792 # This is a hack to suppress warnings from root headers (-isystem) 793 TARGET_INCLUDE_DIRECTORIES(calcsourcemc SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS}) 779 794 ENDIF() 780 795 … … 783 798 ADD_RESOURCES(spectrum/analysis.sql spectrum/data.sql spectrum/simulation.sql spectrum/spectrum.sql spectrum/summary-est.sql spectrum/summary-sim.sql) 784 799 MANPAGE(spectrum "") 800 # This is a hack to suppress warnings from root headers (-isystem) 801 TARGET_INCLUDE_DIRECTORIES(spectrum SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS}) 785 802 786 803 ADD_EXECUTABLE(getevent src/getevent.cc) 787 TARGET_LINK_LIBRARIES(getevent ${HELP++LIBS} ZLIB::ZLIB )804 TARGET_LINK_LIBRARIES(getevent ${HELP++LIBS} ZLIB::ZLIB Threads::Threads) 788 805 MANPAGE(getevent "") 789 806 … … 795 812 ADD_EXECUTABLE(makeplots src/makeplots.cc) 796 813 TARGET_LINK_LIBRARIES(makeplots ${HELP++LIBS} ${ROOT_LIBRARIES}) 814 # This is a hack to suppress warnings from root headers (-isystem) 815 TARGET_INCLUDE_DIRECTORIES(makeplots SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS}) 797 816 MANPAGE(makeplots "") 798 817 ENDIF()
Note:
See TracChangeset
for help on using the changeset viewer.