summaryrefslogtreecommitdiff
path: root/Modules/CMakeSystemSpecificInformation.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2022-09-09 20:10:43 +0200
committerCristian Adam <cristian.adam@gmail.com>2022-09-09 20:10:43 +0200
commitcaffb15d096116f45597c9c51c23041ff9b39de3 (patch)
treebb662f2173713f17073ee64efe1648e0c81dc7d7 /Modules/CMakeSystemSpecificInformation.cmake
parent12de4ea2e8efc00c57c731b4a42066ef6d20e099 (diff)
downloadcmake-caffb15d096116f45597c9c51c23041ff9b39de3.tar.gz
LINUX: Set CMAKE_HOST_LINUX variable when running on a Linux host
Relates: #23840
Diffstat (limited to 'Modules/CMakeSystemSpecificInformation.cmake')
-rw-r--r--Modules/CMakeSystemSpecificInformation.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeSystemSpecificInformation.cmake b/Modules/CMakeSystemSpecificInformation.cmake
index 319b0bbe28..b5dc8d3ed7 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)