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.
This commit is contained in:
JosiahWI 2022-10-22 16:53:16 -05:00
parent df5a413083
commit 48751c15f6
No known key found for this signature in database
GPG Key ID: C7BB8573A4ABC4B9

View File

@ -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}