--- a/misc/physfs/CMakeLists.txt Mon Nov 26 00:06:42 2012 +0400
+++ b/misc/physfs/CMakeLists.txt Mon Nov 26 00:09:54 2012 +0400
@@ -47,7 +47,7 @@
# Need these everywhere...
ADD_DEFINITIONS(-fno-common)
- SET(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-framework Carbon -framework IOKit")
+ SET(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-framework IOKit")
ENDIF(MACOSX)
# Add some gcc-specific command lines.
@@ -286,6 +286,8 @@
TARGET_LINK_LIBRARIES(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS})
SET(PHYSFS_LIB_TARGET physfs)
SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
+ INSTALL(TARGETS ${PHYSFS_INSTALL_TARGETS}
+ RUNTIME DESTINATION bin)
ENDIF(PHYSFS_BUILD_SHARED)
IF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)