diff --git a/cpp/pybind/CMakeLists.txt b/cpp/pybind/CMakeLists.txt index eec7a17..b635be0 100644 --- a/cpp/pybind/CMakeLists.txt +++ b/cpp/pybind/CMakeLists.txt @@ -32,7 +32,6 @@ endif() find_package(Torch CONFIG REQUIRED) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}") -message(STATUS "CMAKE CXX FLAGS: ${CMAKE_CXX_FLAGS}") find_library(TORCH_PYTHON_LIBRARY torch_python PATH "${TORCH_INSTALL_PREFIX}/lib") @@ -59,10 +58,10 @@ set_target_properties( if(MSVC) file(GLOB TORCH_DLLS "${TORCH_INSTALL_PREFIX}/lib/*.dll") - add_custom_command( - TARGET xgrammar_bindings - POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${TORCH_DLLS} - $ - ) + # add_custom_command( + # TARGET xgrammar_bindings + # POST_BUILD + # COMMAND ${CMAKE_COMMAND} -E copy_if_different ${TORCH_DLLS} + # $ + # ) endif(MSVC)