chore: Reformat CMake files
This commit is contained in:
+1
-1
@@ -27,4 +27,4 @@ indent_size = 2
|
|||||||
|
|
||||||
[CMakeLists.txt]
|
[CMakeLists.txt]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 4
|
||||||
|
|||||||
+5
-5
@@ -24,9 +24,9 @@ target_link_libraries(hello PRIVATE fmt::fmt)
|
|||||||
|
|
||||||
option(BUILD_TESTING OFF "Build Unity/CMock test suites")
|
option(BUILD_TESTING OFF "Build Unity/CMock test suites")
|
||||||
if (BUILD_TESTING AND NOT IS_EMSCRIPTEN)
|
if (BUILD_TESTING AND NOT IS_EMSCRIPTEN)
|
||||||
set(CMAKE_SKIP_TEST_ALL_DEPENDENCY FALSE)
|
set(CMAKE_SKIP_TEST_ALL_DEPENDENCY FALSE)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
find_package(Unity REQUIRED)
|
find_package(Unity REQUIRED)
|
||||||
find_package(CMock REQUIRED)
|
find_package(CMock REQUIRED)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user