Closed edwardhartnett closed 3 years ago
I build this package with:
cmake -DCMAKE_PREFIX_PATH=/home/ed/NCEPLIBS/NCEPLIBS-sp -DCMAKE_INSTALL_PREFIX=/home/ed/NCEPLIBS/NCEPLIBS-ip2 ..
But when I try make tests it doesn't work:
(base) ed@mikado:~/NCEPLIBS-ip2/b$ make tests make: *** No rule to make target 'tests'. Stop. (base) ed@mikado:~/NCEPLIBS-ip2/b$ make test make: *** No rule to make target 'test'. Stop.
OK, I see we have an ENABLE_TESTS option that's off by default.
We want to remove that option and have testing always enabled by default. That's the normal way to do things and it will work fine for us too.
I build this package with:
cmake -DCMAKE_PREFIX_PATH=/home/ed/NCEPLIBS/NCEPLIBS-sp -DCMAKE_INSTALL_PREFIX=/home/ed/NCEPLIBS/NCEPLIBS-ip2 ..
But when I try make tests it doesn't work: