programming:buildsystems:cmake:notes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| programming:buildsystems:cmake:notes [2026/01/04 22:24] – Added first line to [Detecting Linux distribution]. bas | programming:buildsystems:cmake:notes [2026/01/04 22:25] (current) – Added the subheadline "Detecting OpenBSD". bas | ||
|---|---|---|---|
| Line 92: | Line 92: | ||
| </ | </ | ||
| Source: | Source: | ||
| + | |||
| + | |||
| + | =====Detecting OpenBSD===== | ||
| + | |||
| + | Add to CMakeLists.txt: | ||
| + | |||
| + | < | ||
| + | if (BSD STREQUAL " | ||
| + | include_directories(/ | ||
| + | include_directories(/ | ||
| + | endif() | ||
| + | </ | ||
programming/buildsystems/cmake/notes.txt · Last modified: by bas
