Skip to content

Update CMakeLists.txt for OpenBSD - #5044

Closed
ovi-vansid wants to merge 1 commit into
ZoneMinder:openbsdfrom
ovi-vansid:openbsd
Closed

Update CMakeLists.txt for OpenBSD#5044
ovi-vansid wants to merge 1 commit into
ZoneMinder:openbsdfrom
ovi-vansid:openbsd

Conversation

@ovi-vansid

Copy link
Copy Markdown

Added OpenBSD as additional target distro and added condition for /tmp as default cache path for OpenBSD.

Added OpenBSD as additional target distro and added condition for /tmp  as default cache path for OpenBSD.
@ovi-vansid

Copy link
Copy Markdown
Author

Wasn't sure if I should use MATCHES or STREQUAL (I see both are used for distro comparisons).

@connortechnology

Copy link
Copy Markdown
Member

MATCHES is for using a regular expression. So strequals is probably what you want although either will likely do. I think this can be simplified instead of adding the extra if STREQUALS OpenBSD, at the initial setting of ZM_PATH_MAP, I think you can just add it to the area down below that you have added. So all the OpenBSD stuff is in one place.

@ovi-vansid

Copy link
Copy Markdown
Author

I'll group all of these together and change the comparisons to STREQUALS. You can reject this PR and I'll submit another.

@ovi-vansid ovi-vansid closed this Aug 9, 2026
@ovi-vansid
ovi-vansid deleted the openbsd branch August 9, 2026 10:58
@ovi-vansid
ovi-vansid restored the openbsd branch August 9, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants