Message ID | mailman.66399.1749070049.1866309.openwrt-devel@lists.openwrt.org |
---|---|
State | New |
Headers | show |
Series | CMakeLists.txt: include GNUInstallDirs after defining the project | expand |
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b4c000..6e1124e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,9 @@ cmake_minimum_required(VERSION 3.13) -INCLUDE(GNUInstallDirs) PROJECT(uci C) +INCLUDE(GNUInstallDirs) + SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") ADD_DEFINITIONS(-Wall -Werror)