Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 7c8c833

Browse files
authored
Merge pull request #5 from jubalh/install
Use CMake var for install location
2 parents 901734c + 93cd771 commit 7c8c833

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,9 @@ if(ENABLE-TESTS MATCHES ON)
7474
add_subdirectory(test)
7575
endif()
7676

77-
INSTALL(TARGETS neix RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
78-
7977
# Install definitons
80-
install(TARGETS neix DESTINATION /usr/local/bin/)
81-
install(FILES ./doc/neix.1 DESTINATION /usr/local/man/man1/)
78+
install(TARGETS neix RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
79+
install(FILES ./doc/neix.1 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1"
8280

8381
# Uninstall definitins
8482
add_custom_target(uninstall

0 commit comments

Comments
 (0)