MINGW-packages/mingw-w64-scalapack/0002-scalapack-fix-bindir.patch
2024-01-05 23:07:27 +05:30

21 lines
697 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -85,7 +85,7 @@
install(TARGETS ${lib} EXPORT scalapack-targets
ARCHIVE DESTINATION lib${LIB_SUFFIX}
LIBRARY DESTINATION lib${LIB_SUFFIX}
- RUNTIME DESTINATION Testing
+ RUNTIME DESTINATION bin
)
endmacro()
@@ -100,7 +100,7 @@
# Organize output files. On Windows this also keeps .dll files next
# to the .exe files that need them, making tests easy to run.
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${SCALAPACK_BINARY_DIR}/TESTING)
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${SCALAPACK_BINARY_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${SCALAPACK_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${SCALAPACK_BINARY_DIR}/lib)