PacktPublishing / Mastering-Graphics-Programming-with-Vulkan

MIT License
526 stars 72 forks source link

FIX CMakeLists.txt tracy paths #3

Closed michael-nischt closed 1 year ago

michael-nischt commented 1 year ago

Using cmake on Linux, the build command cmake -B build -DCMAKE_BUILD_TYPE=Debug fails with the following error:

CMake Error at CMakeLists.txt:109 (add_library):
  Cannot find source file:

    source/external/tracy/Tracy.hpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at CMakeLists.txt:109 (add_library):
  No SOURCES given to target: RaptorExternal

The reason being that the tracy path structure has changed. This PR updates the 3 wrong entries.

theWatchmen commented 1 year ago

Thanks for pointing this out! I forgot to push a couple of files in the last update. This issue should now be fixed :). If the new CMake file works, feel free to close this PR.

michael-nischt commented 1 year ago

Thanks, this specific issue.