Skip to content

Commit

Permalink
[luajit]move luajit headers to the directory "include/luajit/" to avo…
Browse files Browse the repository at this point in the history
…id file conflicts. (#5863)

[luajit]move luajit headers to the directory "include/luajit/" to avoid file conflicts.
  • Loading branch information
JackBoosY authored and Rastaban committed Mar 30, 2019
1 parent 89fd63f commit db13360
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ports/luajit/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: luajit
Version: 2.0.5
Version: 2.0.5-1
Description: LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.
12 changes: 6 additions & 6 deletions ports/luajit/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
endif()
vcpkg_copy_pdbs()

file(INSTALL ${SRC}/lua.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SRC}/luajit.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SRC}/luaconf.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SRC}/lualib.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SRC}/lauxlib.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SRC}/lua.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SRC}/lua.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/luajit)
file(INSTALL ${SRC}/luajit.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/luajit)
file(INSTALL ${SRC}/luaconf.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/luajit)
file(INSTALL ${SRC}/lualib.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/luajit)
file(INSTALL ${SRC}/lauxlib.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/luajit)
file(INSTALL ${SRC}/lua.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/luajit)

file(REMOVE "${SRC}/*.dll")
file(REMOVE "${SRC}/*.exe")
Expand Down

0 comments on commit db13360

Please sign in to comment.