Skip to content

Commit e699729

Browse files
authored
Merge pull request #205 from Freed-Wu/lua
remove prefix of lublib
2 parents d529fc4 + 0863248 commit e699729

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CodeFormatLib/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,14 @@ target_sources(CodeFormatLib
2424
src/LuaCodeFormat.cpp
2525
src/LuaJIT-Compact.cpp
2626
)
27+
set_target_properties(CodeFormatLib PROPERTIES PREFIX "")
2728

2829
if (NOT WIN32)
2930
target_compile_options(CodeFormatLib PUBLIC -fPIC)
3031
endif ()
3132

3233
target_link_libraries(CodeFormatLib PUBLIC CodeFormatCore lua54)
34+
35+
install(TARGETS CodeFormatLib
36+
LIBRARY DESTINATION lib/lua/5.4
37+
)

0 commit comments

Comments
 (0)