Skip to content
Snippets Groups Projects
Commit c89d6f9c authored by Niccolò Betto's avatar Niccolò Betto
Browse files

[CMake] Fix sbs script include order

The `sbs.cmake` script was included too early, which caused `enable_language()` to be called before the call to `project()`, which is illegal by CMake specification.
parent 5d977786
No related branches found
No related tags found
1 merge request!104[Boardcore] Update the boardcore submodule
Pipeline #11057 passed
......@@ -21,8 +21,6 @@
cmake_minimum_required(VERSION 3.16)
enable_testing()
include(skyward-boardcore/cmake/sbs.cmake)
include(cmake/dependencies.cmake)
# -----------------------------------------------------------------------------#
# Project #
......@@ -30,6 +28,9 @@ include(cmake/dependencies.cmake)
project(OnBoardSoftware)
include(skyward-boardcore/cmake/sbs.cmake)
include(cmake/dependencies.cmake)
#-----------------------------------------------------------------------------#
# Flight entrypoints #
#-----------------------------------------------------------------------------#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment