summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2022-09-09 18:10:43 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2022-09-09 18:10:43 (GMT)
commitcaffb15d096116f45597c9c51c23041ff9b39de3 (patch)
treebb662f2173713f17073ee64efe1648e0c81dc7d7 /Modules
parent12de4ea2e8efc00c57c731b4a42066ef6d20e099 (diff)
downloadCMake-caffb15d096116f45597c9c51c23041ff9b39de3.zip
CMake-caffb15d096116f45597c9c51c23041ff9b39de3.tar.gz
CMake-caffb15d096116f45597c9c51c23041ff9b39de3.tar.bz2
LINUX: Set CMAKE_HOST_LINUX variable when running on a Linux host
Relates: #23840
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeSystemSpecificInformation.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeSystemSpecificInformation.cmake b/Modules/CMakeSystemSpecificInformation.cmake
index 319b0bb..b5dc8d3 100644
--- a/Modules/CMakeSystemSpecificInformation.cmake
+++ b/Modules/CMakeSystemSpecificInformation.cmake
@@ -17,6 +17,7 @@ set(CYGWIN )
set(MSYS )
set(WIN32 )
set(BSD )
+set(LINUX )
function(_cmake_record_install_prefix )
set(_CMAKE_SYSTEM_PREFIX_PATH_INSTALL_PREFIX_VALUE "${CMAKE_INSTALL_PREFIX}" PARENT_SCOPE)