Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
Further optimization of the dependency for building the executable
Browse files Browse the repository at this point in the history
  • Loading branch information
drahosp committed Aug 1, 2012
1 parent f454746 commit 9aa4d15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Expand Up @@ -38,7 +38,10 @@ add_custom_command ( OUTPUT ${P}/${D}.lua COMMAND ${LUA} ${LIB}/metalua.lua ${S}
endforeach ( )

install_lua_executable ( metalua ${LIB}/metalua.lua )
add_dependencies ( metalua bootstrap )
# When building the executable wrapper make sure to do it after bootstrap
if ( TARGET metalua )
add_dependencies ( metalua bootstrap )
endif ()

install ( DIRECTORY ${LIB}/ DESTINATION ${INSTALL_LMOD} COMPONENT Runtime PATTERN "*.in" EXCLUDE )
install_doc ( doc/ )
Expand Down

0 comments on commit 9aa4d15

Please sign in to comment.