diff --git a/cmake/configs/posix_sitl_default.cmake b/cmake/configs/posix_sitl_default.cmake index ecaea14c3e6..2ccdb33daa2 100644 --- a/cmake/configs/posix_sitl_default.cmake +++ b/cmake/configs/posix_sitl_default.cmake @@ -18,7 +18,6 @@ set(config_module_list platforms/posix/drivers/gyrosim platforms/posix/drivers/rgbledsim platforms/posix/drivers/ledsim - platforms/posix/drivers/df_imu systemcmds/param systemcmds/mixer systemcmds/ver diff --git a/src/firmware/posix/CMakeLists.txt b/src/firmware/posix/CMakeLists.txt index 838eeb91e92..a16731e4d31 100644 --- a/src/firmware/posix/CMakeLists.txt +++ b/src/firmware/posix/CMakeLists.txt @@ -30,7 +30,7 @@ else() ${CMAKE_SOURCE_DIR}/src/platforms/posix/main.cpp apps.h ) - if (NOT ${CMAKE_C_COMPILER_ID} STREQUAL "Clang" AND NOT APPLE) + if (${CMAKE_C_COMPILER_ID} STREQUAL "Clang" AND NOT APPLE) target_link_libraries(mainapp -Wl,--start-group ${module_libraries}