소스 검색

VisualC: Set the correct component to false.

When SDL2_main would not be found, it would incorrectly flag the shared SDL2 library as not found.
Pierre Wendling 11 달 전
부모
커밋
378234437f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      VisualC/pkg-support/cmake/sdl2-config.cmake

+ 1 - 1
VisualC/pkg-support/cmake/sdl2-config.cmake

@@ -94,7 +94,7 @@ if(EXISTS "${_sdl2main_library}")
     endif()
     set(SDL2_SDL2main_FOUND TRUE)
 else()
-    set(SDL2_SDL2_FOUND FALSE)
+    set(SDL2_SDL2main_FOUND FALSE)
 endif()
 unset(_sdl2main_library)