mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-22 22:01:06 -06:00
Only link against libdl on Linux.
This commit is contained in:
@ -82,8 +82,10 @@ if (UNIX)
|
|||||||
LINK_LIBRARIES(${GTK3_LIBRARIES})
|
LINK_LIBRARIES(${GTK3_LIBRARIES})
|
||||||
|
|
||||||
ADD_DEFINITIONS(${GTK3_CFLAGS_OTHER})
|
ADD_DEFINITIONS(${GTK3_CFLAGS_OTHER})
|
||||||
|
|
||||||
LINK_LIBRARIES("dl")
|
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
|
LINK_LIBRARIES("dl")
|
||||||
|
endif ()
|
||||||
endif (UNIX)
|
endif (UNIX)
|
||||||
|
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
|
Reference in New Issue
Block a user