Friday, July 13, 2012

[Discuss-gnuradio] cmake error if cppunit not installed

Greetings,

Trying to run cmake on a Linux Mint 13 installation that doesn't have
cppunit leads to what looks like an unintentional error message:

-- Configuring gr-filter support...
-- Dependency ENABLE_GRUEL = ON
-- Dependency ENABLE_VOLK = ON
-- Dependency Boost_FOUND = TRUE
-- Dependency ENABLE_GR_CORE = ON
-- Dependency ENABLE_GR_FFT = ON
-- Enabling gr-filter support.
-- Override with -DENABLE_GR_FILTER=ON/OFF
CMake Error at gr-filter/lib/CMakeLists.txt:178 (GR_ADD_TEST):
Unknown CMake command "GR_ADD_TEST".


CMake Error: The following variables are used in this project, but
they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
CPPUNIT_INCLUDE_DIRS (ADVANCED)
used as include directory in directory
/home/alc/gnuradio/src/gnuradio.git/gr-filter/lib
CPPUNIT_LIBRARIES (ADVANCED)
linked by target "test-gr-filter" in directory
/home/alc/gnuradio/src/gnuradio.git/gr-filter/lib

-- Configuring incomplete, errors occurred!


With cppunit installed everything is fine.

Alex

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment