File tree Expand file tree Collapse file tree 4 files changed +15
-5
lines changed Expand file tree Collapse file tree 4 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,10 @@ if(VCPKG_TARGET_IS_WINDOWS)
28
28
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR} /${TARGET_TRIPLET}
29
29
LOGNAME build -${TARGET_TRIPLET}
30
30
)
31
-
32
- file (INSTALL "${SOURCE_PATH} /ffnvcodec.pc" DESTINATION "${CURRENT_PACKAGES_DIR} /debug/lib/pkgconfig" )
31
+
32
+ if (NOT VCPKG_BUILD_TYPE)
33
+ file (INSTALL "${SOURCE_PATH} /ffnvcodec.pc" DESTINATION "${CURRENT_PACKAGES_DIR} /debug/lib/pkgconfig" )
34
+ endif ()
33
35
34
36
# Linux, etc.
35
37
else ()
@@ -47,11 +49,13 @@ else()
47
49
# FFmpeg uses pkgconfig to find ffnvcodec.pc, so install it where
48
50
# FFMpeg's call to pkgconfig expects to find it.
49
51
file (INSTALL "${SOURCE_PATH} /ffnvcodec.pc" DESTINATION "${CURRENT_PACKAGES_DIR} /lib/pkgconfig" )
50
- file (INSTALL "${SOURCE_PATH} /ffnvcodec.pc" DESTINATION "${CURRENT_PACKAGES_DIR} /debug/lib/pkgconfig" )
52
+ if (NOT VCPKG_BUILD_TYPE)
53
+ file (INSTALL "${SOURCE_PATH} /ffnvcodec.pc" DESTINATION "${CURRENT_PACKAGES_DIR} /debug/lib/pkgconfig" )
54
+ endif ()
51
55
endif ()
52
56
53
57
vcpkg_fixup_pkgconfig()
54
58
55
59
# Install the files to their default vcpkg locations
56
60
file (INSTALL "${SOURCE_PATH} /include" DESTINATION "${CURRENT_PACKAGES_DIR} " )
57
- file ( INSTALL "${CURRENT_PORT_DIR} /copyright" DESTINATION " ${CURRENT_PACKAGES_DIR} /share/ ${PORT} " )
61
+ vcpkg_install_copyright(FILE_LIST "${CURRENT_PORT_DIR} /copyright" )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ffnvcodec" ,
3
3
"version" : " 12.2.72.0" ,
4
+ "port-version" : 1 ,
4
5
"description" : " FFmpeg version of Nvidia Codec SDK headers." ,
5
6
"homepage" : " https://github.com/FFmpeg/nv-codec-headers" ,
6
7
"supports" : " linux | (!osx & !uwp & !(arm64 & windows))"
Original file line number Diff line number Diff line change 2762
2762
},
2763
2763
"ffnvcodec" : {
2764
2764
"baseline" : " 12.2.72.0" ,
2765
- "port-version" : 0
2765
+ "port-version" : 1
2766
2766
},
2767
2767
"fftw3" : {
2768
2768
"baseline" : " 3.3.10" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"versions" : [
3
+ {
4
+ "git-tree" : " 90afa3238f852b5b9bc8fee3e259b3a0f0fee91d" ,
5
+ "version" : " 12.2.72.0" ,
6
+ "port-version" : 1
7
+ },
3
8
{
4
9
"git-tree" : " 5cbb2a7f0ed07795c560971fddd1c6021c37fbfb" ,
5
10
"version" : " 12.2.72.0" ,
You can’t perform that action at this time.
0 commit comments