Skip to content

Commit 3dd843e

Browse files
committed
Detecting MSVC and downloading a specific version of libmaboss
1 parent ce727e8 commit 3dd843e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

addons/PhysiBoSS/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ function(create_physiboss_target MAX_NODES)
2525
STREQUAL "arm64")
2626
set(MABOSS_ARCHIVE libMaBoSS-macos-arm64.tar.gz)
2727
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
28-
set(MABOSS_ARCHIVE libMaBoSS-win64.tar.gz)
28+
if (MSVC)
29+
set(MABOSS_ARCHIVE libMaBoSS-win64-msvc.tar.gz)
30+
else()
31+
set(MABOSS_ARCHIVE libMaBoSS-win64.tar.gz)
32+
endif()
2933
else()
3034
message(FATAL_ERROR "Unsupported OS: ${CMAKE_SYSTEM_NAME}")
3135
endif()

0 commit comments

Comments
 (0)