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.
This commit is contained in:
Přemysl Eric Janouch 2021-11-01 07:52:41 +01:00
parent d5ea2e2b4d
commit 1d118d5406
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 0 additions and 6 deletions

View File

@ -29,12 +29,6 @@ if (WIN32)
# Seems like there is a regression setting this to two paths in one, # Seems like there is a regression setting this to two paths in one,
# setting the path manually # setting the path manually
set (ENV{PKG_CONFIG_PATH} "${WIN32_DEPENDS_PATH}/lib/pkgconfig") 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 () endif ()
# Generate icons # Generate icons