]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
cmake/tuklib_large_file_support.cmake: Add a missing include
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 16:14:30 +0000 (19:14 +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 4ed1d09107b2ea133d9990f8ad77652f1876aa3c..7c11969cdfe5f9fe71e32823c8905454eedbf362 100644 (file)
@@ -14,6 +14,7 @@
 #############################################################################
 
 include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
+include(CMakePushCheckState)
 include(CheckCSourceCompiles)
 
 function(tuklib_large_file_support TARGET_OR_ALL)