Skip to content

Commit 9f8703e

Browse files
committed
cmake: Use dedicated CMAKE_HOST_APPLE variable
1 parent 8c20170 commit 9f8703e

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)