|
@@ -31,20 +31,21 @@ VERSION(6.5.9)
|
|
ORIGINAL_SOURCE(mirror://kernel/linux/kernel/v6.x/linux-6.5.9.tar.xz)
|
|
ORIGINAL_SOURCE(mirror://kernel/linux/kernel/v6.x/linux-6.5.9.tar.xz)
|
|
|
|
|
|
IF (OPENSOURCE_REPLACE_LINUX_HEADERS AND EXPORT_CMAKE)
|
|
IF (OPENSOURCE_REPLACE_LINUX_HEADERS AND EXPORT_CMAKE)
|
|
-
|
|
|
|
- OPENSOURCE_EXPORT_REPLACEMENT(
|
|
|
|
- CMAKE linux-headers-generic
|
|
|
|
- CMAKE_TARGET linux-headers-generic::linux-headers-generic
|
|
|
|
- CONAN linux-headers-generic/${OPENSOURCE_REPLACE_LINUX_HEADERS} "&& conan-requires" linux-headers-generic/${OPENSOURCE_REPLACE_LINUX_HEADERS}
|
|
|
|
|
|
+ OPENSOURCE_EXPORT_REPLACEMENT_BY_OS(
|
|
|
|
+ OS
|
|
|
|
+ Linux
|
|
|
|
+ CMAKE
|
|
|
|
+ linux-headers-generic
|
|
|
|
+ CMAKE_TARGET
|
|
|
|
+ linux-headers-generic::linux-headers-generic
|
|
|
|
+ CONAN
|
|
|
|
+ linux-headers-generic/${OPENSOURCE_REPLACE_LINUX_HEADERS}
|
|
)
|
|
)
|
|
-
|
|
|
|
ELSE()
|
|
ELSE()
|
|
-
|
|
|
|
ADDINCL(
|
|
ADDINCL(
|
|
GLOBAL contrib/libs/linux-headers
|
|
GLOBAL contrib/libs/linux-headers
|
|
GLOBAL contrib/libs/linux-headers/_nf
|
|
GLOBAL contrib/libs/linux-headers/_nf
|
|
)
|
|
)
|
|
-
|
|
|
|
ENDIF()
|
|
ENDIF()
|
|
|
|
|
|
DISABLE(NEED_PLATFORM_PEERDIRS)
|
|
DISABLE(NEED_PLATFORM_PEERDIRS)
|