[CMake] can't locate library with find_library

2017-03-22 Thread Oliver
hi all, I am running cmake 3 using EPEL install on RHEL 7. I also have installed "gflags", $rpm -ql gflags /usr/bin/gflags_completions.sh /usr/lib64/libgflags.so.2.1 /usr/lib64/libgflags_nothreads.so.2.1 /usr/share/doc/gflags-2.1.1 /usr/share/doc/gflags-2.1.1/AUTHORS.txt /usr/share/doc/gflags-2

Re: [CMake] can't locate library with find_library

2017-03-22 Thread Nils Gladitz
On 22.03.2017 14:52, Oliver wrote: hi all, I am running cmake 3 using EPEL install on RHEL 7. I also have installed "gflags", $rpm -ql gflags /usr/bin/gflags_completions.sh /usr/lib64/libgflags.so.2.1 /usr/lib64/libgflags_nothreads.so.2.1 /usr/share/doc/gflags-2.1.1 /usr/share/doc/gflags-2.

Re: [CMake] can't locate library with find_library

2017-03-22 Thread Oliver
oh, no, silly me, I didn't. that fixed the problem. thx Feiyi On Wed, Mar 22, 2017 at 10:08 AM, Nils Gladitz wrote: > On 22.03.2017 14:52, Oliver wrote: > >> hi all, >> >> I am running cmake 3 using EPEL install on RHEL 7. I also have installed >> "gflags", >> >> >> >> $rpm -ql gflags >> /usr/

[CMake] Include file in the Makefile

2017-03-22 Thread Hom Nath Gharti
Dear all, I use PETSc in my package and I need to use the following line in my GNU Makefile: include ${PETSC_DIR}/lib/petsc/conf/variables What is the equivalent command for CMakeLists.txt for this? Thanks for your help. Thanks, HNG -- Powered by www.kitware.com Please keep messages on-topi