added new screens and getting ready for networking, looking at SDL_net for cross platfrom networking so i dont have to touch windows
This commit is contained in:
22
SDL2_net-2.2.0/cmake/CommonFindSDL2.cmake
Normal file
22
SDL2_net-2.2.0/cmake/CommonFindSDL2.cmake
Normal file
@@ -0,0 +1,22 @@
|
||||
# Common variables for FindSDL2*.cmake modules
|
||||
|
||||
set(_inc_suffixes include)
|
||||
set(_lib_suffixes)
|
||||
if(MSVC)
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
list(APPEND _lib_suffixes "lib/x86")
|
||||
endif()
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
list(APPEND _lib_suffixes "lib/x64")
|
||||
endif()
|
||||
endif()
|
||||
if(MINGW)
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
list(APPEND _lib_suffixes "i686-w64-mingw32/lib")
|
||||
list(APPEND _inc_suffixes "i686-w64-mingw32/include")
|
||||
endif()
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
list(APPEND _lib_suffixes "x86_46-w64-mingw32/lib")
|
||||
list(APPEND _inc_suffixes "x86_46-w64-mingw32/include")
|
||||
endif()
|
||||
endif()
|
||||
Reference in New Issue
Block a user