Skip to content

Commit 21e5a50

Browse files
committed
Fix: should test APPLE, not CMAKE_APPLE_SILICON_PROCESSOR
1 parent 873387c commit 21e5a50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pybind_interface/decide/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ else()
2424
set(CMAKE_CXX_FLAGS "-O3")
2525
endif()
2626

27-
if(CMAKE_APPLE_SILICON_PROCESSOR)
27+
if(APPLE)
2828
include_directories(
2929
"/usr/local/include"
3030
"/usr/local/opt/llvm/include"

0 commit comments

Comments
 (0)