|
# NOTE. The fallback "build/${PACKAGE_ID}.targets" is deliberately not tried. |
|
# One should always place the native .target file under "build/native/". |
|
set(DOT_TARGETS_FILE |
|
"${NUGET_DEPENDENCY_DIR_${PACKAGE_ID}}/build/native/${PACKAGE_ID}.targets" # Default (and non-settable) |
|
) |
Unfortunately some projects depend on packages that have their .targets file in a non-standard location, e.g. build/${PACKAGE_ID}.targets. It would be good to be able to specify a custom value for DOT_TARGETS_FILE.
CMakeNuGetTools/cmake/internal/NuGetImport.core.cmake
Lines 175 to 179 in 1f64204
Unfortunately some projects depend on packages that have their
.targetsfile in a non-standard location, e.g.build/${PACKAGE_ID}.targets. It would be good to be able to specify a custom value forDOT_TARGETS_FILE.