CMakeLists: fix CMake warning for INCLUDE macro
authorDavid Härdeman <[email protected]>
Sun, 5 Oct 2025 12:29:05 +0000 (14:29 +0200)
committerChristian Marangi <[email protected]>
Sun, 5 Oct 2025 12:33:55 +0000 (14:33 +0200)
commit5e69edac2ec4d23a443de11d6f3f11912d8b2d89
tree5225c1058b25d43de79d495bc5b54fbeba4fc8a4
parent272fc1348ea9a13303828744a7f21fd269e87227
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 <[email protected]>
[ improve commit description ]
Link: https://github.com/openwrt/uci/pull/7
Signed-off-by: Christian Marangi <[email protected]>
CMakeLists.txt