diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-13 02:39:26 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-13 03:22:12 +0000 |
commit | 83bf5ba2550cc643047679f30fbafcac37373a4b (patch) | |
tree | 86f91eefac71a36978e72987be03f2d4712a88c3 /cmake/Anope.cmake | |
parent | 2881ba112b7b4ef084172f4de501211032ee9f91 (diff) |
Remove checks for obsolete Windows SDK versions.
We can't build against these anyway now as they're too old.
Diffstat (limited to 'cmake/Anope.cmake')
-rw-r--r-- | cmake/Anope.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Anope.cmake b/cmake/Anope.cmake index 640f0ef6b..818e548a6 100644 --- a/cmake/Anope.cmake +++ b/cmake/Anope.cmake @@ -34,8 +34,8 @@ macro(calculate_libraries SRC SRC_LDFLAGS EXTRA_DEPENDS) string(REGEX REPLACE "(.+)\\|.*" "\\1" LIBRARY ${LIBRARY}) endif() # Locate the library to see if it exists - if(DEFAULT_LIBRARY_DIRS OR WSDK_PATH OR DEFINED $ENV{VCINSTALLDIR}) - find_library(FOUND_${LIBRARY}_LIBRARY NAMES ${LIBRARY} ${LIBRARY_ALT} PATHS ${DEFAULT_LIBRARY_DIRS} ${WSDK_PATH}/lib $ENV{VCINSTALLDIR}/lib ${EXTRA_INCLUDE} ${EXTRA_LIBS}) + if(DEFAULT_LIBRARY_DIRS OR DEFINED $ENV{VCINSTALLDIR}) + find_library(FOUND_${LIBRARY}_LIBRARY NAMES ${LIBRARY} ${LIBRARY_ALT} PATHS ${DEFAULT_LIBRARY_DIRS} $ENV{VCINSTALLDIR}/lib ${EXTRA_INCLUDE} ${EXTRA_LIBS}) else() find_library(FOUND_${LIBRARY}_LIBRARY NAMES ${LIBRARY} ${LIBRARY_ALT} PATHS ${EXTRA_INCLUDE} ${EXTRA_LIBS} NO_DEFAULT_PATH) find_library(FOUND_${LIBRARY}_LIBRARY NAMES ${LIBRARY} ${LIBRARY_ALT} PATHS ${EXTRA_INCLUDE} ${EXTRA_LIBS}) |