Skip to content

Commit

Permalink
[TinyAD] Add bigobj for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcasmar committed Jul 19, 2024
1 parent c7e5d1d commit cbb5afb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/tinyad/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,7 @@ def package_info(self):
self.cpp_info.cxxflags.extend(openmp_flags)
self.cpp_info.exelinkflags.extend(openmp_flags)
self.cpp_info.sharedlinkflags.extend(openmp_flags)

if is_msvc(self):
# https://github.com/patr-schm/TinyAD/blob/29417031c185b6dc27b6d4b684550d844459b735/CMakeLists.txt#L35
self.cpp_info.cxxflags.append("/bigobj")

0 comments on commit cbb5afb

Please sign in to comment.