NVIDIAGameWorks/RTX-Path-Tracing

Path to sl.interposer.lib is incorrect

TheMostDiligent opened this issue · 0 comments

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)