NVIDIAGameWorks / RTX-Path-Tracing

Real-time path tracing library and sample
Other
641 stars 67 forks source link

Path to sl.interposer.lib is incorrect #22

Open TheMostDiligent opened 10 months ago

TheMostDiligent commented 10 months ago

Fresh build of the project generates the following error:

5>------ Build started: Project: pt_sdk, Configuration: Debug x64 ------
5>LINK : fatal error LNK1104: cannot open file '..\..\external\Streamline\lib\x64\sl.interposer.lib'

This is because the relative path to sl.interposer.lib in CMake does not work. It needs to be absolute:

set_property(TARGET sl.interposer PROPERTY IMPORTED_LOCATION ${CMAKE_SOURCE_DIR}/external/Streamline/lib/x64/sl.interposer.lib)