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/NetBSD.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/NetBSD.cmake')
-rw-r--r-- | Modules/Platform/NetBSD.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/NetBSD.cmake b/Modules/Platform/NetBSD.cmake index ab85923..a64bf0b 100644 --- a/Modules/Platform/NetBSD.cmake +++ b/Modules/Platform/NetBSD.cmake @@ -1,3 +1,5 @@ +set(NETBSD 1) +set(BSD 1) set(CMAKE_DL_LIBS "") set(CMAKE_C_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_C_COMPILE_OPTIONS_PIE "-fPIE") |