diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-03-21 16:06:38 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-03-21 17:40:45 +1000 |
commit | 5a370e04c8372300aa39176640239d3ba07f8d07 (patch) | |
tree | ec8068f33518caba6ed2d94c77b690fba935a7b9 /cmake | |
parent | f4755875a93ab7be928ed4efe7a21502cda2715c (diff) |
[cmake] FindFMT relocate select_library_configurations call
relocate select_library_configurations to generic code path. Multi Config generators (Xcode, VS)
will be able to autodetect debug/release lib names for internal builds
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindFmt.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/modules/FindFmt.cmake b/cmake/modules/FindFmt.cmake index 66c217a3ba..ce8445c54b 100644 --- a/cmake/modules/FindFmt.cmake +++ b/cmake/modules/FindFmt.cmake @@ -63,10 +63,11 @@ else() find_library(FMT_LIBRARY_DEBUG NAMES fmtd PATHS ${PC_FMT_LIBDIR}) - include(SelectLibraryConfigurations) - select_library_configurations(FMT) endif() +include(SelectLibraryConfigurations) +select_library_configurations(FMT) + include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Fmt REQUIRED_VARS FMT_LIBRARY FMT_INCLUDE_DIR |