Skip to content

Commit f0f04ac

Browse files
committed
Update cmake commands for roc-setup-hugetlbfs
1 parent 133874a commit f0f04ac

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

CMakeLists.txt

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,6 @@ endforeach()
293293
# Install
294294
####################################
295295

296-
# Install the hugetlbfs script separately, because it's not a compiled target
297-
install(
298-
FILES src/roc-setup-hugetlbfs.sh
299-
DESTINATION ${CMAKE_INSTALL_BINDIR}
300-
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
301-
RENAME roc-setup-hugetlbfs)
302-
303296
include(GNUInstallDirs)
304297

305298
# Build targets with install rpath on Mac to dramatically speed up installation
@@ -356,3 +349,18 @@ install(
356349
DESTINATION
357350
${CMAKE_INSTALL_LIBDIR}/cmake/ReadoutCard
358351
)
352+
353+
# Install the hugetlbfs script separately, because it's not a compiled target
354+
install(
355+
FILES src/roc-setup-hugetlbfs.sh
356+
DESTINATION ${CMAKE_INSTALL_BINDIR}
357+
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
358+
RENAME roc-setup-hugetlbfs
359+
)
360+
361+
install(
362+
FILES src/roc-setup-hugetlbfs.sh
363+
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
364+
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
365+
RENAME roc-setup-hugetlbfs
366+
)

0 commit comments

Comments
 (0)