gr-fosphor: Make sure FindGnuradioRuntime caches GNURADIO_RUNTIME_LIBRARIES

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2013-10-26 17:51:38 +02:00
parent f73efd5172
commit dec2f97875
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ if(NOT GNURADIO_RUNTIME_FOUND)
list(APPEND GNURADIO_RUNTIME_LIBRARIES ${GNURADIO_RUNTIME_LIBRARIES_${libname}})
endforeach(libname)
set (GNURADIO_RUNTIME_LIBRARIES ${GNURADIO_RUNTIME_LIBRARIES} CACHE FILEPATH "gnuradio-runtime libraries")
if (GNURADIO_RUNTIME_INCLUDE_DIRS AND GNURADIO_RUNTIME_LIBRARIES)
set(GNURADIO_RUNTIME_FOUND TRUE CACHE INTERNAL "gnuradio-runtime found")
else (GNURADIO_RUNTIME_INCLUDE_DIRS AND GNURADIO_RUNTIME_LIBRARIES)