Skip to content

Commit

Permalink
Add bigobj for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
lzqlzzq committed Dec 22, 2023
1 parent d3a5968 commit d51a6bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ if(NOT MSVC AND NOT ${CMAKE_BUILD_TYPE} MATCHES Debug|RelWithDebInfo)
pybind11_strip(core)
endif()

if(MSVC)
add_compile_options(-bigobj)
endif()

install(TARGETS core LIBRARY DESTINATION symusic)

0 comments on commit d51a6bd

Please sign in to comment.