forked from bartvdbraak/blender
CMake: Fix post build action for makesdna on other systems. This was broken during Windows work.
This commit is contained in:
parent
047a71c32c
commit
0b036eb2d1
@ -36,8 +36,9 @@ ADD_EXECUTABLE(makesdna ${SRC} ${INC_FILES})
|
|||||||
|
|
||||||
ADD_CUSTOM_COMMAND(TARGET makesdna
|
ADD_CUSTOM_COMMAND(TARGET makesdna
|
||||||
POST_BUILD
|
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
|
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")
|
MESSAGE(STATUS "Configuring makesdna")
|
||||||
|
Loading…
Reference in New Issue
Block a user