Skip to content

Commit

Permalink
CMake: Add clean-luajit target
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicki Pfau committed Oct 22, 2018
1 parent 6ada0a8 commit 69ef64d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ else()
add_custom_command(OUTPUT "${LUA_LIBRARY}"
COMMAND $(MAKE) ${LUA_FLAGS} libluajit.a
WORKING_DIRECTORY "${LUA_INCLUDE_DIRS}")
add_custom_target(clean-luajit
COMMAND $(MAKE) clean
WORKING_DIRECTORY "${LUA_INCLUDE_DIRS}")
endif()

if(NOT WIN32)
Expand Down

0 comments on commit 69ef64d

Please sign in to comment.