Changeset 19996 for trunk/FACT++/CMakeLists.txt
- Timestamp:
- 09/24/20 18:01:11 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/CMakeLists.txt
r19976 r19996 54 54 ENDIF() 55 55 56 # ===== Check for Anaconda ===== 57 # Anacoda installation sometimes believe that they are the master of everything 58 # and change the users environment such that the build system or the executable 59 # loads, for example, anconda's libz rather than the system library. This might 60 # work but usually creates serious troubles either during linking or during 61 # execution. 62 63 STRING(REPLACE ":" ";" PATHENV "$ENV{PATH}") 64 FOREACH (DIR ${PATHENV}) 65 IF(LDIR MATCHES .*anaconda.*) 66 MESSAGE(WARNING "\n WARNING: Anaconda is altering your PATH environent: " ${DIR} "\n CMake, make or execution might fail, as non-system\n libraries might be mistaken for system libraries!\n Please make sure that there is no interference!") 67 BREAK() 68 ENDIF() 69 ENDFOREACH() 70 71 56 72 # ======== For config.h.in ========= 57 73 SET(PACKAGE_MAINTAINER "Thomas Bretz") … … 222 238 223 239 IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND Boost_VERSION LESS 106000 AND NOT NO_BOOST_HACK) 224 MESSAGE(STATUS " 240 MESSAGE(STATUS "Setting BOOST_REGEX_NO_EXTERNAL_TEMPLATES") 225 241 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_REGEX_NO_EXTERNAL_TEMPLATES=1") 226 242 ENDIF() … … 693 709 694 710 ADD_EXECUTABLE(rootifysql src/rootifysql.cc) 695 TARGET_LINK_LIBRARIES(rootifysql ${HELP++LIBS} ${ROOT_LIBRARIES})711 TARGET_LINK_LIBRARIES(rootifysql ${HELP++LIBS} OpenSSL::SSL ${ROOT_LIBRARIES}) 696 712 MANPAGE(rootifysql "FACT++ - rootifysql - Write result of a SQL query into a root-file") 697 713 ADD_EXECUTABLE(root2sql src/root2sql.cc) 698 TARGET_LINK_LIBRARIES(root2sql ${HELP++LIBS} ${ROOT_LIBRARIES})714 TARGET_LINK_LIBRARIES(root2sql ${HELP++LIBS} OpenSSL::SSL ${MYSQLPP_LIBRARY} ${ROOT_LIBRARIES}) 699 715 MANPAGE(root2sql "FACT++ - root2sql - Fill contents of a root-tree into a MySQL database") 700 716
Note:
See TracChangeset
for help on using the changeset viewer.