]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
cmake/tuklib_large_file_support.cmake: Add a missing include v5.2
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 1 Oct 2024 11:49:41 +0000 (14:49 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 1 Oct 2024 11:53:47 +0000 (14:53 +0300)
v5.2 didn't build with CMake. Other branches had
include(CMakePushCheckState) in top-level CMakeLists.txt
which made the build work.

Fixes: 597f49b61475438a43a417236989b2acc968a686
(cherry picked from commit be4bf94446b6286a5dffdde85fc1d21448f4edff)

cmake/tuklib_large_file_support.cmake

index 0800faa2a359975f0be00bd1ee848dc3e687553b..1079326e84cfae376100b771bce734a56a62f277 100644 (file)
@@ -13,6 +13,7 @@
 #
 
 include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
+include(CMakePushCheckState)
 include(CheckCSourceCompiles)
 
 function(tuklib_large_file_support TARGET_OR_ALL)