diff options
author | Allen Winter <allen.winter@kdab.com> | 2021-08-14 18:33:19 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2021-08-14 18:33:19 -0400 |
commit | 66da823417cc546140814d7eaf4d467879a91967 (patch) | |
tree | b6af3c949cb6c3bbd4c8cd1b9161d248b65340ed /ConfigureChecks.cmake | |
parent | 6f6e85c037fd4f36fd9d96cf114b244e4eac1edc (diff) | |
download | libical-git-66da823417cc546140814d7eaf4d467879a91967.tar.gz |
buildsystem - minor cleanups found with cmake --warn-uninitialized
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index bba33fa9..545877ae 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -61,6 +61,9 @@ if(MSVC_VERSION GREATER 1899) set(HAVE_SNPRINTF true) endif() +if(NOT DEFINED CMAKE_REQUIRED_LIBRARIES) + set(CMAKE_REQUIRED_LIBRARIES "") +endif() set(_SAVE_RQL ${CMAKE_REQUIRED_LIBRARIES}) set(CMAKE_REQUIRED_LIBRARIES kernel32.lib) check_function_exists(GetNumberFormat HAVE_GETNUMBERFORMAT) #Windows <windows.h> |