developer | 77746fa | 2023-11-30 12:02:58 +0800 | [diff] [blame^] | 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 2 | index ade8aac..c8ae7b7 100644 |
| 3 | --- a/CMakeLists.txt |
| 4 | +++ b/CMakeLists.txt |
| 5 | @@ -28,13 +28,10 @@ find_library(libuci NAMES uci) |
| 6 | find_library(libubox NAMES ubox) |
| 7 | find_library(libubus NAMES ubus) |
| 8 | find_library(libblobmsg_json NAMES blobmsg_json) |
| 9 | +find_library(libnl_tiny NAMES nl-tiny) |
| 10 | |
| 11 | -if(LINUX) |
| 12 | - find_library(libnl_tiny NAMES nl-tiny) |
| 13 | - |
| 14 | - if(libnl_tiny AND libubox) |
| 15 | - set(DEFAULT_NL_SUPPORT ON) |
| 16 | - endif() |
| 17 | +if(libnl_tiny AND libubox) |
| 18 | + set(DEFAULT_NL_SUPPORT ON) |
| 19 | endif() |
| 20 | |
| 21 | if(libuci AND libubox) |