diff options
| author | David Härdeman | 2025-10-05 12:29:05 +0000 |
|---|---|---|
| committer | Christian Marangi | 2025-10-05 12:33:55 +0000 |
| commit | 5e69edac2ec4d23a443de11d6f3f11912d8b2d89 (patch) | |
| tree | 5225c1058b25d43de79d495bc5b54fbeba4fc8a4 | |
| parent | 272fc1348ea9a13303828744a7f21fd269e87227 (diff) | |
| download | uci-5e69edac2ec4d23a443de11d6f3f11912d8b2d89.tar.gz | |
CMakeLists: fix CMake warning for INCLUDE macro
Fix CMake warning for INCLUDE macro by moving the INCLUDE after the
PROJECT declaration.
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/GNUInstallDirs.cmake:253 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Signed-off-by: David Härdeman <david@hardeman.nu>
[ improve commit description ]
Link: https://github.com/openwrt/uci/pull/7
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b4c000..9add836 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.13) -INCLUDE(GNUInstallDirs) PROJECT(uci C) +INCLUDE(GNUInstallDirs) SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") |