Skip to content

Commit

Permalink
Move Windows OpenMP dll to redistributable components
Browse files Browse the repository at this point in the history
  • Loading branch information
godotalgorithm committed Mar 19, 2024
1 parent 89f167d commit 4b82b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
if(INTEL_OMP_DLL STREQUAL "INTEL_OMP_DLL-NOTFOUND")
message("WARNING: Cannot locate Intel's OpenMP dll for packaging")
endif()
install(PROGRAMS ${INTEL_OMP_DLL} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT qtifw EXCLUDE_FROM_ALL)
install(PROGRAMS ${INTEL_OMP_DLL} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT redist EXCLUDE_FROM_ALL)
else()
find_library(INTEL_OMP_LIB iomp5 HINT CMAKE_Fortran_COMPILER PATH_SUFFIXES ../../compiler/lib ../../compiler/lib/intel64_lin)
if(INTEL_OMP_LIB STREQUAL "INTEL_OMP_LIB-NOTFOUND")
Expand Down

0 comments on commit 4b82b2c

Please sign in to comment.