diff --git a/resources/pybind11/tools/pybind11Tools.cmake b/resources/pybind11/tools/pybind11Tools.cmake index 8726ce9..f8d7faf 100755 --- a/resources/pybind11/tools/pybind11Tools.cmake +++ b/resources/pybind11/tools/pybind11Tools.cmake @@ -101,7 +101,7 @@ function(_pybind11_add_lto_flags target_name prefer_thin_lto) # Enable LTO flags if found, except for Debug builds if (PYBIND11_LTO_CXX_FLAGS) - target_compile_options(${target_name} PRIVATE "$<$>:${PYBIND11_LTO_CXX_FLAGS}>") + #target_compile_options(${target_name} PRIVATE "$<$>:${PYBIND11_LTO_CXX_FLAGS}>") endif() if (PYBIND11_LTO_LINKER_FLAGS) target_link_libraries(${target_name} PRIVATE "$<$>:${PYBIND11_LTO_LINKER_FLAGS}>")