diff --git a/CMakeLists.txt b/CMakeLists.txt index 6944ca20e..2cf75bcf2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1024,6 +1024,14 @@ src/platform/C4TimeMilliseconds.h src/zlib/gzio.c src/zlib/gzio.h src/zlib/zutil.h + + # pcg is a header-only library which we're listing solely so MSVC shows + # the sources in the solution explorer. We could use an INTERFACE library + # but there is no point to that because we don't need it for non-IDE + # generators and support on IDE-targetting generators is nonexistant. + thirdparty/pcg/pcg_extras.hpp + thirdparty/pcg/pcg_random.hpp + thirdparty/pcg/pcg_uint128.hpp ) target_link_libraries(libmisc ${ZLIB_LIBRARIES})