Update CMakeLists.txt
This commit is contained in:
parent
80d062b3fb
commit
393bb8f261
@ -17,6 +17,7 @@ if(ESP_PLATFORM)
|
||||
endif()
|
||||
|
||||
project(RoboidControl)
|
||||
add_subdirectory(VectorAlgebra)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
@ -31,7 +32,7 @@ FetchContent_Declare(
|
||||
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||
FetchContent_MakeAvailable(googletest)
|
||||
|
||||
|
||||
add_library(RoboidControl STATIC
|
||||
"Roboid.cpp"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user