Skip to content

Commit

Permalink
Fix link error on MSVC
Browse files Browse the repository at this point in the history
Issue #166
  • Loading branch information
barche committed Jun 21, 2024
1 parent e157d61 commit 4f47bcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if [ -z "${package}" ]; then
package="https://github.com/JuliaInterop/CxxWrap.jl.git"
fi
cmake --build . --config Release
cmake --build . --config Debug
julia -e "using Pkg; Pkg.Registry.add(\"General\"); Pkg.Registry.add(RegistrySpec(url = \"https://github.com/barche/CxxWrapTestRegistry.git\"))"
julia -e "using Pkg; pkg\"add ${package}\"; using CxxWrap"
ctest -j 1 -C Release -V
ctest -j 1 -C Debug -V
4 changes: 4 additions & 0 deletions src/jlcxx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,10 @@ namespace detail
{
}
};

template struct JLCXX_API BasicArg<false>;
template struct JLCXX_API BasicArg<true>;

}

#ifdef JLCXX_USE_TYPE_MAP
Expand Down

0 comments on commit 4f47bcc

Please sign in to comment.