1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-02 08:13:04 +00:00

Add cmake modules to cmakelint job and fix errors

This commit is contained in:
Carles Fernandez
2020-03-01 12:29:21 +01:00
parent e638019d93
commit 4b3f777425
9 changed files with 42 additions and 28 deletions

View File

@@ -255,6 +255,9 @@ cmake_pop_check_state()
set(FILESYSTEM_FOUND ${_found} CACHE BOOL "TRUE if we can compile and link a program using std::filesystem" FORCE)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(FILESYSTEM DEFAULT_MSG FILESYSTEM_FOUND)
if(FILESYSTEM_FIND_REQUIRED AND NOT FILESYSTEM_FOUND)
message(FATAL_ERROR "Cannot compile a simple program using std::filesystem")
endif()