Skip to content

Commit

Permalink
Only use powershell for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Dec 12, 2024
1 parent 8f50f26 commit 7341a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlx/backend/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ else()
set(COMPILER ${CMAKE_CXX_COMPILER})
endif()

if(WIN32)
if(MSVC)
set(SHELL_EXT ps1)
set(SHELL_CMD powershell -ExecutionPolicy Bypass -File)
else()
Expand Down

0 comments on commit 7341a67

Please sign in to comment.