Skip to content

Commit e3db203

Browse files
Specify ARCHIVE/RUNTIME/LIBRARY destinations for mkl_umath on Windows
1 parent bb87659 commit e3db203

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,11 @@ set_target_properties(${_trgt} PROPERTIES CMAKE_POSITION_INDEPENDENT_CODE ON)
100100
target_include_directories(${_trgt} PRIVATE "mkl_umath/src/" ${NumPy_INCLUDE_DIR} ${PYTHON_INCLUDE_DIR} "C:/Users/aguzmanb/Development/mambaforge/envs/mkl_umath_prefix/Library/include")
101101
target_link_libraries(${_trgt} PRIVATE mkl_rt ${Python_LIBRARIES})
102102
target_link_options(${_trgt} PRIVATE ${_linker_options})
103-
install(TARGETS ${_trgt} LIBRARY DESTINATION mkl_umath)
103+
install(TARGETS ${_trgt}
104+
LIBRARY DESTINATION mkl_umath
105+
ARCHIVE DESTINATION mkl_umath
106+
RUNTIME DESTINATION mkl_umath
107+
)
104108

105109
add_library(_ufuncs MODULE "mkl_umath/src/ufuncsmodule.c" "mkl_umath/src/__umath_generated.c")
106110
target_include_directories(_ufuncs PRIVATE "mkl_umath/src" ${NumPy_INCLUDE_DIR} ${MKL_INCLUDE_DIR})

0 commit comments

Comments
 (0)