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 26, 2023
1 parent bd5463c commit 4d3ee7c
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 4d3ee7c

Please sign in to comment.