From 5ef15a250eb232e1bb7f1b35f5806514f99b1fd2 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Wed, 30 Oct 2024 15:01:35 +0100 Subject: [PATCH] python.cmake fixup --- cmake/python.cmake | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cmake/python.cmake b/cmake/python.cmake index 86ae76eaed..b2ba03b28f 100644 --- a/cmake/python.cmake +++ b/cmake/python.cmake @@ -460,11 +460,10 @@ add_custom_command( OUTPUT python/ortools_timestamp COMMAND ${CMAKE_COMMAND} -E remove -f ortools_timestamp COMMAND ${CMAKE_COMMAND} -E make_directory ${PYTHON_PROJECT}/.libs - # Don't need to copy static lib on Windows. COMMAND ${CMAKE_COMMAND} -E $,copy,true> $<${need_unix_zlib_lib}:$> - $<${need_windows_zlib_lib}:$> + $<${need_windows_zlib_lib}:$> ${PYTHON_PROJECT}/.libs COMMAND ${CMAKE_COMMAND} -E $,copy,true> @@ -552,7 +551,7 @@ add_custom_command( $<${need_unix_absl_lib}:$> $<${need_unix_absl_lib}:$> $<${need_unix_absl_lib}:$> - $<${need_windows_absl_lib}:$> + $<${need_windows_absl_lib}:$> ${PYTHON_PROJECT}/.libs COMMAND ${CMAKE_COMMAND} -E @@ -564,7 +563,7 @@ add_custom_command( $,copy,true> $<${need_unix_protobuf_lib}:$> $<${need_unix_protobuf_lib}:$> - $<${need_windows_protobuf_lib}:$> + $<${need_windows_protobuf_lib}:$> $<${need_windows_protobuf_lib}:$> ${PYTHON_PROJECT}/.libs @@ -596,7 +595,7 @@ add_custom_command( COMMAND ${CMAKE_COMMAND} -E $,copy,true> $<${need_unix_highs_lib}:$> - $<${need_windows_highs_lib}:$> + $<${need_windows_highs_lib}:$> ${PYTHON_PROJECT}/.libs COMMAND ${CMAKE_COMMAND} -E