diff --git a/src/algorithms/PVT/gnuradio_blocks/CMakeLists.txt b/src/algorithms/PVT/gnuradio_blocks/CMakeLists.txt index 69dd5c022..37f5de8fe 100644 --- a/src/algorithms/PVT/gnuradio_blocks/CMakeLists.txt +++ b/src/algorithms/PVT/gnuradio_blocks/CMakeLists.txt @@ -64,9 +64,9 @@ check_cxx_source_compiles(" #include int main() { std::put_time(nullptr, \"\"); }" - HAS_PUT_TIME + has_put_time ) -if(${HAS_PUT_TIME}) +if(${has_put_time}) target_compile_definitions(pvt_gr_blocks PRIVATE -DHAS_PUT_TIME=1) endif()