From 5671611c40180be1774aa360993d1f05238257c0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 3 Sep 2015 01:11:38 +1000 Subject: CMake: use generator expressions --- source/blender/makesrna/intern/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/CMakeLists.txt') diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt index b34763e0ae8..987b594421f 100644 --- a/source/blender/makesrna/intern/CMakeLists.txt +++ b/source/blender/makesrna/intern/CMakeLists.txt @@ -350,7 +350,7 @@ target_link_libraries(makesrna bf_dna_blenlib) # note (linux only): with crashes try add this after COMMAND: valgrind --leak-check=full --track-origins=yes add_custom_command( OUTPUT ${GENSRC} - COMMAND ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/makesrna ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND "$" ${CMAKE_CURRENT_BINARY_DIR}/ DEPENDS makesrna ) -- cgit v1.2.3