mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
Only link against libdl on Linux.
This commit is contained in:
parent
df19b93408
commit
c992177eda
@ -83,7 +83,9 @@ if (UNIX)
|
|||||||
|
|
||||||
ADD_DEFINITIONS(${GTK3_CFLAGS_OTHER})
|
ADD_DEFINITIONS(${GTK3_CFLAGS_OTHER})
|
||||||
|
|
||||||
|
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
LINK_LIBRARIES("dl")
|
LINK_LIBRARIES("dl")
|
||||||
|
endif ()
|
||||||
endif (UNIX)
|
endif (UNIX)
|
||||||
|
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
|
Loading…
Reference in New Issue
Block a user