Skip to content

Commit

Permalink
Fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
waltervn committed Mar 1, 2015
1 parent e55076d commit d0f3301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ target_link_libraries(tolua++_bootstrap

add_custom_command(OUTPUT
"${CMAKE_CURRENT_BINARY_DIR}/toluabind.c"
COMMAND tolua++_bootstrap -C -o "${CMAKE_CURRENT_BINARY_DIR}/toluabind.c" "${PROJECT_SOURCE_DIR}/src/bin/tolua.pkg"
DEPENDS tolua++_bootstrap
COMMAND tolua++_bootstrap -C -o "${CMAKE_CURRENT_BINARY_DIR}/toluabind.c" tolua.pkg
DEPENDS tolua++_bootstrap tolua.pkg lua/*.lua
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
)

Expand Down

0 comments on commit d0f3301

Please sign in to comment.