Skip to content

Commit

Permalink
Fixup /bigobj handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Mar 3, 2025
1 parent 341d2a6 commit 7d6092e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ target_include_directories(helios
)

if(MSVC)
target_compile_options(helios PRIVATE /bigobj)
target_compile_options(helios PUBLIC /bigobj)
endif()

# Expose version information to the C++ sources
Expand All @@ -141,9 +141,6 @@ if(BUILD_PYTHON)
include_directories(${Python_INCLUDE_DIRS})
include_directories(${CMAKE_SOURCE_DIR}/src/python)
pybind11_add_module(_helios MODULE python/helios/helios_python.cpp)
if(MSVC)
target_compile_options(_helios PRIVATE /bigobj)
endif()
target_link_libraries(_helios PUBLIC helios pybind11::module)
install(TARGETS _helios DESTINATION .)
endif()
Expand Down

0 comments on commit 7d6092e

Please sign in to comment.