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 Apr 20, 2023
1 parent 8c20170 commit 9f8703e
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 9f8703e

Please sign in to comment.