[CMake] Include file in the Makefile

Hom Nath Gharti hng.email at gmail.com
Wed Mar 22 17:07:34 EDT 2017


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


More information about the CMake mailing list