Not sure if this is still needed (it's definitely unneeded in CMake 2.8).
authorRyan C. Gordon <icculus@icculus.org>
Tue, 02 Feb 2010 23:04:13 -0500
changeset 1039 6ea910694da8
parent 1038 16b7dedb02a5
child 1040 5fc90d008821
Not sure if this is still needed (it's definitely unneeded in CMake 2.8).
CMakeLists.txt
--- a/CMakeLists.txt	Tue Feb 02 22:49:48 2010 -0500
+++ b/CMakeLists.txt	Tue Feb 02 23:04:13 2010 -0500
@@ -407,6 +407,7 @@
                 LINK_FLAGS "${_EXTRALDFLAGS}"
                 LIBRARY_OUTPUT_NAME "physfs"
                 LIBRARY_OUTPUT_DIRECTORY "${_TARGETDIR}"
+                CLEAN_DIRECT_OUTPUT 1
             )
             INSTALL(TARGETS ${_TARGET} LIBRARY DESTINATION "${_INSTALLPATH}")
             MESSAGE(STATUS "${_LANG} bindings configured!")