aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-01 07:52:41 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-01 07:52:41 +0100
commit1d118d5406719751dfe0d761b117fb34b195a097 (patch)
tree9f3c04abff1cc243ef39a3aae4481e42f39373b1
parentd5ea2e2b4de90bb3eb4eaf83447881902afb2732 (diff)
downloadlogdiag-1d118d5406719751dfe0d761b117fb34b195a097.tar.gz
logdiag-1d118d5406719751dfe0d761b117fb34b195a097.tar.xz
logdiag-1d118d5406719751dfe0d761b117fb34b195a097.zip
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.
-rw-r--r--CMakeLists.txt6
1 files changed, 0 insertions, 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