CMake: Fix post build action for makesdna on other systems. This was broken during Windows work.

This commit is contained in:
Jacques Beuarain 2006-11-18 13:26:05 +00:00
parent 047a71c32c
commit 0b036eb2d1

@ -36,8 +36,9 @@ ADD_EXECUTABLE(makesdna ${SRC} ${INC_FILES})
ADD_CUSTOM_COMMAND(TARGET makesdna
POST_BUILD
COMMAND makesdna ${CMAKE_SOURCE_DIR}/source/blender/makesdna/intern/dna.c ${CMAKE_SOURCE_DIR}/source/blender/makesdna/
COMMAND ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/makesdna ${CMAKE_SOURCE_DIR}/source/blender/makesdna/intern/dna.c ${CMAKE_SOURCE_DIR}/source/blender/makesdna/
DEPENDS ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/makesdna
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}
)
# WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}
MESSAGE(STATUS "Configuring makesdna")