Fix SDL library name
authorunc0rr
Tue, 20 Nov 2012 22:29:58 +0400
changeset 8076 5ee474476ae1
parent 8075 0ccb218127c3
child 8077 2ea5cde93abc
Fix SDL library name
misc/physfs/CMakeLists.txt
--- a/misc/physfs/CMakeLists.txt	Tue Nov 20 19:16:11 2012 +0100
+++ b/misc/physfs/CMakeLists.txt	Tue Nov 20 22:29:58 2012 +0400
@@ -280,7 +280,7 @@
     ADD_LIBRARY(physfs SHARED ${PHYSFS_SRCS})
     SET_TARGET_PROPERTIES(physfs PROPERTIES VERSION ${PHYSFS_VERSION})
     SET_TARGET_PROPERTIES(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
-    TARGET_LINK_LIBRARIES(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS} SDL)
+    TARGET_LINK_LIBRARIES(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS} ${SDL_LIBRARY})
     SET(PHYSFS_LIB_TARGET physfs)
     SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
 ENDIF(PHYSFS_BUILD_SHARED)