diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2022-08-15 17:53:35 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2022-08-20 23:27:59 (GMT) |
commit | a20d7a9707009a5195a817ac54ecabbfd8bd48db (patch) | |
tree | 33d2002c812ddd3ca694c93a6557a3147462ff81 /Modules/Platform/OpenBSD.cmake | |
parent | 2ae42d0aa38ead2935d545f7d398ddf5df8b396d (diff) | |
download | CMake-a20d7a9707009a5195a817ac54ecabbfd8bd48db.zip CMake-a20d7a9707009a5195a817ac54ecabbfd8bd48db.tar.gz CMake-a20d7a9707009a5195a817ac54ecabbfd8bd48db.tar.bz2 |
BSD: Set *BSD variables when targeting a *BSD system
Fixes: #23853
Diffstat (limited to 'Modules/Platform/OpenBSD.cmake')
-rw-r--r-- | Modules/Platform/OpenBSD.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/OpenBSD.cmake b/Modules/Platform/OpenBSD.cmake index 97e2a6a..f6b955a 100644 --- a/Modules/Platform/OpenBSD.cmake +++ b/Modules/Platform/OpenBSD.cmake @@ -1,4 +1,6 @@ include(Platform/NetBSD) +unset(NETBSD) +set(OPENBSD 1) # On OpenBSD, the compile time linker does not share it's configuration with # the runtime linker. This will extract the library search paths from the |