diff --git a/CMakeLists.txt b/CMakeLists.txt index 29a07890d..58fb7fe02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -172,20 +172,6 @@ if(USE_WIIUSE) add_definitions(-DENABLE_WIIUSE) endif() -if(UNIX AND NOT APPLE) - target_link_libraries(supertuxkart Xxf86vm) -elseif(APPLE) - # We could use smarter detection of the frameworks but supporting a single official setup makes things easy... - target_link_libraries(supertuxkart /Library/Frameworks/Ogg.framework) - target_link_libraries(supertuxkart /Library/Frameworks/OpenAL.framework) - target_link_libraries(supertuxkart /Library/Frameworks/Vorbis.framework) - - target_link_libraries(supertuxkart /System/Library/Frameworks/IOKit.framework) - target_link_libraries(supertuxkart /System/Library/Frameworks/QuickTime.framework) - target_link_libraries(supertuxkart /System/Library/Frameworks/Carbon.framework) - target_link_libraries(supertuxkart /System/Library/Frameworks/AudioUnit.framework) - target_link_libraries(supertuxkart /System/Library/Frameworks/Cocoa.framework) -endif() # ==== Make dist target ==== add_custom_target(dist diff --git a/src/enet/CMakeLists.txt b/src/enet/CMakeLists.txt index d9ee178d8..09a62268e 100644 --- a/src/enet/CMakeLists.txt +++ b/src/enet/CMakeLists.txt @@ -5,6 +5,13 @@ include_directories("include") add_definitions(-DHAS_SOCKLEN_T) add_library(enet - callbacks.c host.c list.c peer.c unix.c - compress.c install-sh packet.c protocol.c win32.c - ) + callbacks.c + compress.c + host.c + list.c + packet.c + peer.c + protocol.c + unix.c + win32.c +)