From 48751c15f620d44e6298182e6f397200d5a3fc2d Mon Sep 17 00:00:00 2001 From: JosiahWI Date: Sat, 22 Oct 2022 16:53:16 -0500 Subject: [PATCH] Remove quotes around CMake list variables Quotes around library or include path variables break their behavior when they are list. They've now been removed, and this should fix the MSVC build. --- source/Irrlicht/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/Irrlicht/CMakeLists.txt b/source/Irrlicht/CMakeLists.txt index 85d12f86..bf9501cd 100644 --- a/source/Irrlicht/CMakeLists.txt +++ b/source/Irrlicht/CMakeLists.txt @@ -266,10 +266,10 @@ target_include_directories(IrrlichtMt "${PROJECT_SOURCE_DIR}/include" "${CMAKE_CURRENT_SOURCE_DIR}" - "${ZLIB_INCLUDE_DIR}" - "${JPEG_INCLUDE_DIR}" - "${PNG_INCLUDE_DIR}" - "${SDL2_INCLUDE_DIRS}" + ${ZLIB_INCLUDE_DIR} + ${JPEG_INCLUDE_DIR} + ${PNG_INCLUDE_DIR} + ${SDL2_INCLUDE_DIRS} ${OPENGL_INCLUDE_DIR} ${OPENGLES2_INCLUDE_DIR} @@ -281,10 +281,10 @@ target_include_directories(IrrlichtMt target_link_libraries(IrrlichtMt PRIVATE - "${ZLIB_LIBRARY}" - "${JPEG_LIBRARY}" - "${PNG_LIBRARY}" - "${SDL2_LIBRARIES}" + ${ZLIB_LIBRARY} + ${JPEG_LIBRARY} + ${PNG_LIBRARY} + ${SDL2_LIBRARIES} tinygltf::tinygltf ${OPENGL_LIBRARIES}