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:
@@ -266,10 +266,10 @@ target_include_directories(IrrlichtMt
|
|||||||
"${PROJECT_SOURCE_DIR}/include"
|
"${PROJECT_SOURCE_DIR}/include"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}"
|
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||||||
|
|
||||||
"${ZLIB_INCLUDE_DIR}"
|
${ZLIB_INCLUDE_DIR}
|
||||||
"${JPEG_INCLUDE_DIR}"
|
${JPEG_INCLUDE_DIR}
|
||||||
"${PNG_INCLUDE_DIR}"
|
${PNG_INCLUDE_DIR}
|
||||||
"${SDL2_INCLUDE_DIRS}"
|
${SDL2_INCLUDE_DIRS}
|
||||||
|
|
||||||
${OPENGL_INCLUDE_DIR}
|
${OPENGL_INCLUDE_DIR}
|
||||||
${OPENGLES2_INCLUDE_DIR}
|
${OPENGLES2_INCLUDE_DIR}
|
||||||
@@ -281,10 +281,10 @@ target_include_directories(IrrlichtMt
|
|||||||
|
|
||||||
target_link_libraries(IrrlichtMt
|
target_link_libraries(IrrlichtMt
|
||||||
PRIVATE
|
PRIVATE
|
||||||
"${ZLIB_LIBRARY}"
|
${ZLIB_LIBRARY}
|
||||||
"${JPEG_LIBRARY}"
|
${JPEG_LIBRARY}
|
||||||
"${PNG_LIBRARY}"
|
${PNG_LIBRARY}
|
||||||
"${SDL2_LIBRARIES}"
|
${SDL2_LIBRARIES}
|
||||||
tinygltf::tinygltf
|
tinygltf::tinygltf
|
||||||
|
|
||||||
${OPENGL_LIBRARIES}
|
${OPENGL_LIBRARIES}
|
||||||
|
Reference in New Issue
Block a user