Skip to content

Commit

Permalink
Merge branch 'main' into rbus-57964
Browse files Browse the repository at this point in the history
  • Loading branch information
karuna2git authored Dec 13, 2024
2 parents b7b6980 + deda83c commit 6debd0a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [ main, 'rbus-**' ]
jobs:
all:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up cache
id: cache
Expand Down
11 changes: 0 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@ enable_testing()

find_package(PkgConfig REQUIRED)

if (CMAKE_VERSION VERSION_LESS "3.1")
message("CMAKE ${CMAKE_CXX_COMPILER_ID}")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set (CMAKE_CXX_FLAGS "-std=gnu++11 ${CMAKE_CXX_FLAGS}")
set (CMAKE_C_FLAGS "-std=c11 ${CMAKE_C_FLAGS}")
endif ()
else ()
set (CMAKE_CXX_STANDARD 11)
set (CMAKE_C_STANDARD 11)
endif ()

set(CMAKE_C_FLAGS_DEBUG "-fPIC -Wall -Werror -Wextra -Wno-type-limits -fno-inline ${CMAKE_C_FLAGS_DEBUG} -DRBUS_ALWAYS_ON ")
set(CMAKE_C_FLAGS_RELEASE "-fPIC -Wall -Werror -Wextra ${CMAKE_C_FLAGS_RELEASE} -DRBUS_ALWAYS_ON ")

Expand Down
2 changes: 1 addition & 1 deletion unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if (NOT GTEST_INCLUDE_DIR)
ExternalProject_Add(
gtest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.12.0
GIT_TAG v1.15.2
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/gtest
INSTALL_COMMAND "")

Expand Down

0 comments on commit 6debd0a

Please sign in to comment.