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:
parent
d5ea2e2b4d
commit
1d118d5406
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue