Skip to content

Commit 4d3ee7c

Browse files
committed
cmake: Use dedicated CMAKE_HOST_APPLE variable
1 parent bd5463c commit 4d3ee7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/FindValgrind.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
1+
if(CMAKE_HOST_APPLE)
22
find_program(BREW_COMMAND brew)
33
execute_process(
44
COMMAND ${BREW_COMMAND} --prefix valgrind

0 commit comments

Comments
 (0)