Skip to content

Commit

Permalink
Fix linter complaints
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Mayer <[email protected]>
  • Loading branch information
WideAwakeTN committed Feb 18, 2023
1 parent 92cf9dc commit 35855fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ endif()
option(USE_PI_MUTEX "Enables priority inheritance mutexes." ON)
if(USE_PI_MUTEX)
if(CMAKE_SYSTEM_NAME STREQUAL Linux OR
CMAKE_SYSTEM_NAME STREQUAL VxWorks OR
CMAKE_SYSTEM_NAME STREQUAL QNX)
CMAKE_SYSTEM_NAME STREQUAL VxWorks OR
CMAKE_SYSTEM_NAME STREQUAL QNX)
target_compile_definitions(${PROJECT_NAME} PUBLIC "RCPPUTILS_USE_PIMUTEX")
else()
message("Mutexes with priority inheritance are not supported on your system. Using std mutexes.")
Expand Down

0 comments on commit 35855fc

Please sign in to comment.