mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-05-07 01:44:11 +00:00
Providing more information if ENABLE_GPERFTOOLS is set to ON and the
library is (or it is not) found in the system.
This commit is contained in:
parent
2445620e76
commit
df6b282582
@ -769,9 +769,12 @@ endif(ENABLE_OPENCL)
|
|||||||
if(ENABLE_GPERFTOOLS)
|
if(ENABLE_GPERFTOOLS)
|
||||||
find_package(Gperftools)
|
find_package(Gperftools)
|
||||||
if ( NOT GPERFTOOLS_FOUND )
|
if ( NOT GPERFTOOLS_FOUND )
|
||||||
message(STATUS "The optional library GPerftools has not been found.")
|
message(STATUS "Although ENABLE_GPERFTOOLS has been set to ON, GPerftools has not been found.")
|
||||||
|
message(STATUS "Binaries will be compiled without 'tcmalloc' and 'profiler' libraries.")
|
||||||
|
message(STATUS "You can install GPerftools from http://code.google.com/p/gperftools/")
|
||||||
else( NOT GPERFTOOLS_FOUND )
|
else( NOT GPERFTOOLS_FOUND )
|
||||||
message (STATUS "GPerftools library found." )
|
message(STATUS "GPerftools libraries found." )
|
||||||
|
message(STATUS "Binaries will be compiled with 'tcmalloc' and 'profiler' libraries.")
|
||||||
endif( NOT GPERFTOOLS_FOUND )
|
endif( NOT GPERFTOOLS_FOUND )
|
||||||
endif(ENABLE_GPERFTOOLS)
|
endif(ENABLE_GPERFTOOLS)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user