Skip to content

Commit

Permalink
Remove unnessecary linking for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
guusw committed Sep 24, 2016
1 parent f321e96 commit a7df968
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
7 changes: 0 additions & 7 deletions Main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,5 @@ if(WIN32)
else()
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/third_party)
include(FindLibraries)
target_link_libraries(Main ${ZLIB_LIBRARIES})
target_link_libraries(Main ${FREETYPE_LIBRARIES})
target_link_libraries(Main ${SDL2_LIBRARY})
target_link_libraries(Main ${JPEG_LIBRARIES})
target_link_libraries(Main ${PNG_LIBRARIES})
target_link_libraries(Main pthread)
target_link_libraries(Main dl)
target_link_libraries(Main GL)
endif()
7 changes: 0 additions & 7 deletions Tests.Game/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,4 @@ if(WIN32)
else()
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/third_party)
include(FindLibraries)
target_link_libraries(Tests.Game ${ZLIB_LIBRARIES})
target_link_libraries(Tests.Game ${FREETYPE_LIBRARIES})
target_link_libraries(Tests.Game ${SDL2_LIBRARY})
target_link_libraries(Tests.Game ${JPEG_LIBRARIES})
target_link_libraries(Tests.Game ${PNG_LIBRARIES})
target_link_libraries(Tests.Game pthread)
target_link_libraries(Tests.Game dl)
endif()
5 changes: 0 additions & 5 deletions Tests.Shared/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ target_link_libraries(Tests.Shared Shared)
target_link_libraries(Tests.Shared Tests)

if(WIN32)
# Bundled libraries
target_link_libraries(Tests.Shared zlib)
else()
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/third_party)
include(FindLibraries)
target_link_libraries(Tests.Shared ${ZLIB_LIBRARIES})
target_link_libraries(Tests.Shared pthread)
target_link_libraries(Tests.Shared dl)
endif()

0 comments on commit a7df968

Please sign in to comment.