Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
MSVC please don't be stubborn
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Jan 21, 2024
1 parent 63fb413 commit 51cc9a8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions source/Irrlicht/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -315,23 +315,23 @@ set(link_includes
)

set(link_libs
"${ZLIB_LIBRARY}"
"${JPEG_LIBRARY}"
"${PNG_LIBRARY}"
"$<$<BOOL:${USE_SDL2}>:${SDL2_LIBRARIES}>"

"$<$<BOOL:${OPENGL_DIRECT_LINK}>:${OPENGL_LIBRARIES}>"
"$<$<BOOL:${OPENGLES_DIRECT_LINK}>:${OPENGLES_LIBRARY}>"
"$<$<BOOL:${OPENGLES2_DIRECT_LINK}>:${OPENGLES2_LIBRARIES}>"
${ZLIB_LIBRARY}
${JPEG_LIBRARY}
${PNG_LIBRARY}
$<$<BOOL:${USE_SDL2}>:${SDL2_LIBRARIES}>

$<$<BOOL:${OPENGL_DIRECT_LINK}>:${OPENGL_LIBRARIES}>
$<$<BOOL:${OPENGLES_DIRECT_LINK}>:${OPENGLES_LIBRARY}>
$<$<BOOL:${OPENGLES2_DIRECT_LINK}>:${OPENGLES2_LIBRARIES}>
${EGL_LIBRARY}

"$<$<PLATFORM_ID:Android>:-landroid -llog>"
${COCOA_LIB}
${IOKIT_LIB}
"$<$<PLATFORM_ID:Windows>:gdi32>"
"$<$<PLATFORM_ID:Windows>:winmm>"
"$<$<BOOL:${USE_X11}>:${X11_X11_LIB}>"
"$<$<BOOL:${USE_X11}>:${X11_Xi_LIB}>"
$<$<BOOL:${USE_X11}>:${X11_X11_LIB}>
$<$<BOOL:${USE_X11}>:${X11_Xi_LIB}>
)

# Source files
Expand Down

0 comments on commit 51cc9a8

Please sign in to comment.