diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-08-21 05:05:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-09-22 14:21:38 (GMT) |
commit | 9cdf5a67790ef78292366268af0a3de4b5cc3892 (patch) | |
tree | 52629400536620bc90d03083d8d9150120ec4bf6 /Source/Modules | |
parent | 2be5a7de4ea987649dfc1ac669928fecf2613046 (diff) | |
download | CMake-9cdf5a67790ef78292366268af0a3de4b5cc3892.zip CMake-9cdf5a67790ef78292366268af0a3de4b5cc3892.tar.gz CMake-9cdf5a67790ef78292366268af0a3de4b5cc3892.tar.bz2 |
Build: Use imported target `EXPAT::EXPAT` instead of variables
Diffstat (limited to 'Source/Modules')
-rw-r--r-- | Source/Modules/CMakeBuildUtilities.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Modules/CMakeBuildUtilities.cmake b/Source/Modules/CMakeBuildUtilities.cmake index f217f9b..dad4bc1 100644 --- a/Source/Modules/CMakeBuildUtilities.cmake +++ b/Source/Modules/CMakeBuildUtilities.cmake @@ -197,6 +197,7 @@ else() set(CMAKE_EXPAT_INCLUDES) set(CMAKE_EXPAT_LIBRARIES cmexpat) add_subdirectory(Utilities/cmexpat) + add_library(EXPAT::EXPAT ALIAS cmexpat) CMAKE_SET_TARGET_FOLDER(cmexpat "Utilities/3rdParty") endif() |