We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c992d4c commit 46f4e79Copy full SHA for 46f4e79
scripts/vcpkg_ports/camp/portfile.cmake
@@ -82,4 +82,9 @@ else()
82
endif()
83
84
# Put the license file where vcpkg expects it
85
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/camp RENAME copyright)
+# Note: LICENSE occasionally cannot be found
86
+if(EXISTS "${SOURCE_PATH}/LICENSE")
87
+ file(INSTALL ${SOURCE_PATH}/LICENSE
88
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/camp
89
+ RENAME copyright)
90
+endif()
0 commit comments