mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-02 00:10:22 +02:00
Merge pull request #3615 from Alexander-Wilms/cmake-sdl2
Fix SDL2MAIN_LIBRARY CMake warning
This commit is contained in:
commit
868b41c8ee
@ -314,13 +314,6 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2
|
|||||||
REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR
|
REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR
|
||||||
VERSION_VAR SDL2_VERSION_STRING)
|
VERSION_VAR SDL2_VERSION_STRING)
|
||||||
|
|
||||||
if(SDL2MAIN_LIBRARY)
|
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2main
|
|
||||||
REQUIRED_VARS SDL2MAIN_LIBRARY SDL2_INCLUDE_DIR
|
|
||||||
VERSION_VAR SDL2_VERSION_STRING)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
mark_as_advanced(SDL2_PATH
|
mark_as_advanced(SDL2_PATH
|
||||||
SDL2_NO_DEFAULT_PATH
|
SDL2_NO_DEFAULT_PATH
|
||||||
SDL2_LIBRARY
|
SDL2_LIBRARY
|
||||||
|
Loading…
Reference in New Issue
Block a user