diff --git a/source/Irrlicht/CMakeLists.txt b/source/Irrlicht/CMakeLists.txt index 08a3cb4f..f5e978a0 100644 --- a/source/Irrlicht/CMakeLists.txt +++ b/source/Irrlicht/CMakeLists.txt @@ -513,6 +513,7 @@ target_include_directories(IrrlichtMt ${link_includes} ) +# this needs to be here and not in a variable (like link_includes) due to issues with the generator expressions target_link_libraries(IrrlichtMt PRIVATE ${ZLIB_LIBRARY} ${JPEG_LIBRARY}