Skip to content

Commit

Permalink
cmake: Use dedicated CMAKE_HOST_APPLE variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Mar 21, 2023
1 parent abde5a4 commit 1b0ead1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindValgrind.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
if(CMAKE_HOST_APPLE)
find_program(BREW_COMMAND brew)
execute_process(
COMMAND ${BREW_COMMAND} --prefix valgrind
Expand Down

0 comments on commit 1b0ead1

Please sign in to comment.