Skip to content

Commit 5892b22

Browse files
committed
cmake: fix installation
1 parent 039b209 commit 5892b22

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

luzer/CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,13 @@ install(
5959
RENAME luzer.so
6060
)
6161

62-
# See description of NAMELINK_SKIP in
63-
# https://cmake.org/cmake/help/latest/command/install.html
6462
install(
6563
TARGETS custom_mutator
6664
LIBRARY
67-
NAMELINK_SKIP
68-
DESTINATION "${CMAKE_LIBDIR}/"
65+
DESTINATION "${CMAKE_LIBDIR}/${PROJECT_NAME}"
6966
)
7067

7168
install(
7269
FILES ${CMAKE_CURRENT_SOURCE_DIR}/init.lua
73-
DESTINATION "${CMAKE_LUADIR}/"
70+
DESTINATION "${CMAKE_LUADIR}/${PROJECT_NAME}"
7471
)

0 commit comments

Comments
 (0)