mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
20 lines
917 B
CMake
20 lines
917 B
CMake
--- cmake/modules/FindCrossGUID.cmake.orig 2024-03-04 21:39:38 UTC
|
|
+++ cmake/modules/FindCrossGUID.cmake
|
|
@@ -45,7 +45,7 @@ if(NOT TARGET CrossGUID::CrossGUID)
|
|
set(CROSSGUID_VERSION ${PC_CROSSGUID_VERSION})
|
|
endif()
|
|
|
|
- find_path(CROSSGUID_INCLUDE_DIR NAMES crossguid/guid.hpp guid.h
|
|
+ find_path(CROSSGUID_INCLUDE_DIR NAMES guid.hpp guid.h
|
|
HINTS ${DEPENDS_PATH}/include ${PC_CROSSGUID_INCLUDEDIR}
|
|
${${CORE_PLATFORM_LC}_SEARCH_CONFIG}
|
|
NO_CACHE)
|
|
@@ -59,7 +59,7 @@ if(NOT TARGET CrossGUID::CrossGUID)
|
|
NO_CACHE)
|
|
|
|
# NEW_CROSSGUID >= 0.2.0 release
|
|
- if(EXISTS "${CROSSGUID_INCLUDE_DIR}/crossguid/guid.hpp")
|
|
+ if(EXISTS "${CROSSGUID_INCLUDE_DIR}/guid.hpp")
|
|
list(APPEND _crossguid_definitions HAVE_NEW_CROSSGUID)
|
|
endif()
|
|
endif()
|