diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2022-09-05 22:29:04 (GMT) |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2022-09-05 23:02:34 (GMT) |
commit | 288f72efea0636c498755a9cec6d5ddcbfed5c8c (patch) | |
tree | 990b00b513085b8f843f697bbcec8333c32f1309 /Modules/Platform/NetBSD.cmake | |
parent | 9b1b9b9aae371acb9d18b481d45bcaec2d312e27 (diff) | |
download | CMake-288f72efea0636c498755a9cec6d5ddcbfed5c8c.zip CMake-288f72efea0636c498755a9cec6d5ddcbfed5c8c.tar.gz CMake-288f72efea0636c498755a9cec6d5ddcbfed5c8c.tar.bz2 |
BSD: Only use BSD as variable for target BSD system
Instead of having multiple boolean variables, we only have one
string variable: BSD with the name of the target BSD system.
Relates: #23853
Diffstat (limited to 'Modules/Platform/NetBSD.cmake')
-rw-r--r-- | Modules/Platform/NetBSD.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/Platform/NetBSD.cmake b/Modules/Platform/NetBSD.cmake index a64bf0b..52c6594 100644 --- a/Modules/Platform/NetBSD.cmake +++ b/Modules/Platform/NetBSD.cmake @@ -1,5 +1,4 @@ -set(NETBSD 1) -set(BSD 1) +set(BSD "NetBSD") set(CMAKE_DL_LIBS "") set(CMAKE_C_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_C_COMPILE_OPTIONS_PIE "-fPIE") |