From 1d118d5406719751dfe0d761b117fb34b195a097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 1 Nov 2021 07:52:41 +0100 Subject: CMakeLists.txt: remove pointless targets The win32-depends target only makes sense /before/ running CMake. Let the builder do it by hand rather than invoking it automatically, which would be another sensible solution. --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae588d3..843863e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,12 +29,6 @@ if (WIN32) # Seems like there is a regression setting this to two paths in one, # setting the path manually set (ENV{PKG_CONFIG_PATH} "${WIN32_DEPENDS_PATH}/lib/pkgconfig") - - add_custom_target (win32-depends COMMAND ${CMAKE_COMMAND} -P - ${PROJECT_SOURCE_DIR}/Win32Depends.cmake - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}) - add_custom_target (win32-depends-clean COMMAND ${CMAKE_COMMAND} -E - remove_directory ${WIN32_DEPENDS_PATH}) endif () # Generate icons -- cgit v1.2.3