Skip to content

Commit

Permalink
Add missing dll to post_build
Browse files Browse the repository at this point in the history
  • Loading branch information
jlelong committed Oct 21, 2019
1 parent b37b590 commit 70850bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PnlConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ find_package_handle_standard_args(Pnl
function(pnl_add_postbuild target)
# Copy all the .dll to the binary build dir
if(MSVC)
set(components @CMAKE_SHARED_LIBRARY_PREFIX@pnl.dll libblas.dll liblapack.dll libgcc_s_seh-1.dll libquadmath-0.dll libgfortran-5.dll)
set(components @CMAKE_SHARED_LIBRARY_PREFIX@pnl.dll libblas.dll liblapack.dll libgcc_s_seh-1.dll libquadmath-0.dll libgfortran-5.dll libwinpthread-1.dll)
get_filename_component(PNL_LIB_DIRECTORY ${PNL_LIBRARY} DIRECTORY)
foreach(entry ${components})
add_custom_command(TARGET ${target} POST_BUILD
Expand Down

0 comments on commit 70850bd

Please sign in to comment.