some small fix
authorXiao Xiangquan <xiaoxiangquan@gmail.com>
Sat, 13 Aug 2011 14:43:52 +0000 (14:43 +0000)
committerXiao Xiangquan <xiaoxiangquan@gmail.com>
Sat, 13 Aug 2011 14:43:52 +0000 (14:43 +0000)
source/blender/blenfont/BLF_api.h
source/creator/CMakeLists.txt

index 837ca814fbfa24ecf812b9cdc06f98bc1fa806f0..6f6003fa6701052e1e01d149003378c6c4e68aa0 100644 (file)
@@ -34,6 +34,7 @@
 #ifndef BLF_API_H
 #define BLF_API_H
 
+#include <stdlib.h>
 struct rctf;
 
 int BLF_init(int points, int dpi);
index a85cb36d37925f59a7bdfe9ecaf5a05a3e8cc18d..43f012b9543f77519657caf50b0eac8af58fc560 100644 (file)
@@ -458,7 +458,7 @@ elseif(WIN32)
                DIRECTORY
           ${CMAKE_SOURCE_DIR}/release/bin/.blender/locale
           ${CMAKE_SOURCE_DIR}/release/bin/.blender/fonts
-               DESTINATION ${TARGETDIR_VER}/datafiles/locale
+               DESTINATION ${TARGETDIR_VER}/datafiles
                PATTERN ".svn" EXCLUDE
        )
 
@@ -667,14 +667,14 @@ elseif(APPLE)
        if(WITH_INTERNATIONAL)
                install(
                        FILES ${CMAKE_SOURCE_DIR}/release/bin/.blender/.Blanguages
-                       DESTINATION ${TARGETDIR_VER}/datafiles/
+                       DESTINATION ${TARGETDIR_VER}/datafiles
                )
 
                install(
                        DIRECTORY
                                ${CMAKE_SOURCE_DIR}/release/bin/.blender/fonts
                                ${CMAKE_SOURCE_DIR}/release/bin/.blender/locale
-                       DESTINATION ${TARGETDIR_VER}/datafiles/
+                       DESTINATION ${TARGETDIR_VER}/datafiles
                        PATTERN ".svn" EXCLUDE
                )
        endif()