Skip to content

Commit 164cd91

Browse files
committed
Update README.md
1 parent 9b23123 commit 164cd91

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ Then add the following line to your `CMakeLists.txt`:
1818
add_subdirectory(<path_to_dmath_repo>)
1919
2020
target_link_libraries(<your_target> dmath)
21+
22+
if(MSVC)
23+
# Force multiple definitions to be allowed in MSVC.
24+
target_link_options(<your_target> PRIVATE /FORCE:MULTIPLE)
25+
endif()
2126
```
2227

2328
## Tested Platforms

0 commit comments

Comments
 (0)