

Compiler Flags: -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC -pthread -Wno-deprecated-declarations -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC -pthread -Wno-deprecated-declarations -O2 -g -DNDEBUG Performing Test CXX_HAS_Wno_deprecated_declarations - Success Performing Test CXX_HAS_Wno_deprecated_declarations Looking for pthread_create in pthread - found Looking for pthread_create in pthreads - not found Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed Performing Test CMAKE_HAVE_LIBC_PTHREAD Performing Test CXX_HAS_Wno-strict-aliasing - Success Performing Test CXX_HAS_Wno-strict-aliasing Performing Test CXX_HAS_Wno-array-bounds - Success Performing Test CXX_HAS_Wno-array-bounds Check for working CXX compiler: /cvmfs//lcg/releases/gcc/6.2.0-b9934/x86_64-centos7/bin/g++ - works Check for working C compiler: /cvmfs//lcg/releases/gcc/6.2.0-b9934/x86_64-centos7/bin/gcc - works Check for working C compiler: /cvmfs//lcg/releases/gcc/6.2.0-b9934/x86_64-centos7/bin/gcc The CXX compiler identification is GNU 6.2.0 The C compiler identification is GNU 6.2.0 Set(CMAKE_LIBRARY_OUTPUT_DIRECTORY $)Īnd the CMake configure/make result: build]$ cmake -DCMAKE_VERBOSE_MAKEFILE=ON.

cosimoNigro/gLike/blob/cmake_build/CMakeLists.txt cmake_minimum_required(VERSION 3.0) I wrote a CMakeLists.txt file to build a project relying on ROOT, you can find it here (the project is in the same git repository). I am experiencing an issue with cmake’s find_package command when using two different ROOT versions.
