Use list(APPEND
more
This commit is contained in:
parent
46b9c79b77
commit
5cd8a164dd
@ -84,8 +84,7 @@ if(SFML_OS_WINDOWS)
|
|||||||
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD OR SFML_OS_NETBSD)
|
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD OR SFML_OS_NETBSD)
|
||||||
if(SFML_USE_DRM)
|
if(SFML_USE_DRM)
|
||||||
add_definitions(-DSFML_USE_DRM)
|
add_definitions(-DSFML_USE_DRM)
|
||||||
set(PLATFORM_SRC
|
list(APPEND PLATFORM_SRC
|
||||||
${PLATFORM_SRC}
|
|
||||||
${SRCROOT}/DRM/CursorImpl.hpp
|
${SRCROOT}/DRM/CursorImpl.hpp
|
||||||
${SRCROOT}/DRM/CursorImpl.cpp
|
${SRCROOT}/DRM/CursorImpl.cpp
|
||||||
${SRCROOT}/DRM/ClipboardImpl.hpp
|
${SRCROOT}/DRM/ClipboardImpl.hpp
|
||||||
@ -101,8 +100,7 @@ elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD OR SFML_OS_NETBSD)
|
|||||||
${SRCROOT}/DRM/WindowImplDRM.hpp
|
${SRCROOT}/DRM/WindowImplDRM.hpp
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
set(PLATFORM_SRC
|
list(APPEND PLATFORM_SRC
|
||||||
${PLATFORM_SRC}
|
|
||||||
${SRCROOT}/Unix/CursorImpl.hpp
|
${SRCROOT}/Unix/CursorImpl.hpp
|
||||||
${SRCROOT}/Unix/CursorImpl.cpp
|
${SRCROOT}/Unix/CursorImpl.cpp
|
||||||
${SRCROOT}/Unix/ClipboardImpl.hpp
|
${SRCROOT}/Unix/ClipboardImpl.hpp
|
||||||
@ -123,26 +121,22 @@ elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD OR SFML_OS_NETBSD)
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(SFML_OS_LINUX)
|
if(SFML_OS_LINUX)
|
||||||
set(PLATFORM_SRC
|
list(APPEND PLATFORM_SRC
|
||||||
${PLATFORM_SRC}
|
|
||||||
${SRCROOT}/Unix/JoystickImpl.cpp
|
${SRCROOT}/Unix/JoystickImpl.cpp
|
||||||
${SRCROOT}/Unix/JoystickImpl.hpp
|
${SRCROOT}/Unix/JoystickImpl.hpp
|
||||||
)
|
)
|
||||||
elseif(SFML_OS_FREEBSD)
|
elseif(SFML_OS_FREEBSD)
|
||||||
set(PLATFORM_SRC
|
list(APPEND PLATFORM_SRC
|
||||||
${PLATFORM_SRC}
|
|
||||||
${SRCROOT}/FreeBSD/JoystickImpl.cpp
|
${SRCROOT}/FreeBSD/JoystickImpl.cpp
|
||||||
${SRCROOT}/FreeBSD/JoystickImpl.hpp
|
${SRCROOT}/FreeBSD/JoystickImpl.hpp
|
||||||
)
|
)
|
||||||
elseif(SFML_OS_OPENBSD)
|
elseif(SFML_OS_OPENBSD)
|
||||||
set(PLATFORM_SRC
|
list(APPEND PLATFORM_SRC
|
||||||
${PLATFORM_SRC}
|
|
||||||
${SRCROOT}/OpenBSD/JoystickImpl.cpp
|
${SRCROOT}/OpenBSD/JoystickImpl.cpp
|
||||||
${SRCROOT}/OpenBSD/JoystickImpl.hpp
|
${SRCROOT}/OpenBSD/JoystickImpl.hpp
|
||||||
)
|
)
|
||||||
elseif(SFML_OS_NETBSD)
|
elseif(SFML_OS_NETBSD)
|
||||||
set(PLATFORM_SRC
|
list(APPEND PLATFORM_SRC
|
||||||
${PLATFORM_SRC}
|
|
||||||
${SRCROOT}/NetBSD/JoystickImpl.cpp
|
${SRCROOT}/NetBSD/JoystickImpl.cpp
|
||||||
${SRCROOT}/NetBSD/JoystickImpl.hpp
|
${SRCROOT}/NetBSD/JoystickImpl.hpp
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user