File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,13 @@ if (BUILD_OPENBLAS)
3333
3434 # Crucial for static linking: Force OpenBLAS to use the static runtime
3535 if (NOT BUILD_SHARED_LIBS )
36- list ( APPEND OPENBLAS_MINIMAL_FLAGS -DCMAKE_MSVC_RUNTIME_LIBRARY= MultiThreaded)
36+ set (CMAKE_MSVC_RUNTIME_LIBRARY " MultiThreaded" )
3737 endif ()
3838
39- set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" )
4039
41- list (APPEND OPENBLAS_MINIMAL_FLAGS -DUSE_THREAD=OFF )
40+ # list(APPEND OPENBLAS_MINIMAL_FLAGS -DUSE_THREAD=OFF)
4241 list (APPEND OPENBLAS_MINIMAL_FLAGS -DINTERFACE64=0)
4342
44-
45- # Note: If OpenBLAS has an internal logic flag to force 32-bit, you would add it here.
46- # Example (hypothetical):
47- # list(APPEND OPENBLAS_MINIMAL_FLAGS -DOPENBLAS_32BIT=ON)
48-
4943 # If the MSVC runtime library issue persists, you can try this flag as well,
5044 # though CMAKE_GENERATOR_PLATFORM should usually be sufficient.
5145 # list(APPEND OPENBLAS_MINIMAL_FLAGS -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL)
You can’t perform that action at this time.
0 commit comments