mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
99df57a35e
This allows to build with bundled SFML when system SFML (of another version) is installed
18 lines
455 B
CMake
18 lines
455 B
CMake
include_directories(BEFORE include)
|
|
|
|
set(SRCS src/SFML/Network/Ftp.cpp
|
|
src/SFML/Network/Http.cpp
|
|
src/SFML/Network/IPAddress.cpp
|
|
src/SFML/Network/Packet.cpp
|
|
src/SFML/Network/SelectorBase.cpp
|
|
src/SFML/Network/SocketTCP.cpp
|
|
src/SFML/Network/SocketUDP.cpp)
|
|
|
|
if(UNIX)
|
|
set(SRCS ${SRCS} src/SFML/Network/Unix/SocketHelper.cpp)
|
|
elseif(WIN32)
|
|
set(SRCS ${SRCS} src/SFML/Network/Win32/SocketHelper.cpp)
|
|
endif()
|
|
|
|
add_library(sfml-network ${SRCS})
|