Merge pull request #7191 from GerbilSoft/feature/ar-thin-archives

CMake: Use thin archives on Linux.
This commit is contained in:
Markus Wick
2018-07-03 10:22:02 +02:00
committed by GitHub
2 changed files with 12 additions and 3 deletions

View File

@ -142,7 +142,7 @@ elseif(USE_X11)
target_link_libraries(common PUBLIC ${XRANDR_LIBRARIES})
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(common PUBLIC dl rt)
endif()