diff --git a/cmake/Modules/FindFILESYSTEM.cmake b/cmake/Modules/FindFILESYSTEM.cmake index 060f92902..8f3b5f741 100644 --- a/cmake/Modules/FindFILESYSTEM.cmake +++ b/cmake/Modules/FindFILESYSTEM.cmake @@ -255,7 +255,7 @@ endif() cmake_pop_check_state() -set(FILESYSTEM_FOUND ${_found} CACHE BOOL "TRUE if we can compile and link a program using std::filesystem" FORCE) +set(FILESYSTEM_FOUND ${_found}) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(FILESYSTEM DEFAULT_MSG FILESYSTEM_FOUND) diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/FindFILESYSTEM.cmake b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/FindFILESYSTEM.cmake index c4b7255e2..533d91543 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/FindFILESYSTEM.cmake +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/FindFILESYSTEM.cmake @@ -253,7 +253,7 @@ endif() cmake_pop_check_state() -set(FILESYSTEM_FOUND ${_found} CACHE BOOL "TRUE if we can compile and link a program using std::filesystem" FORCE) +set(FILESYSTEM_FOUND ${_found}) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(FILESYSTEM DEFAULT_MSG FILESYSTEM_FOUND)