Skip to content

Commit

Permalink
cmake: use GNUInstallDirs to normalize libexecdir
Browse files Browse the repository at this point in the history
Problem: install using wrong libexec directory

Solution: use the libexec directory provided by GNUInstallDirs
  • Loading branch information
trws committed Sep 29, 2023
1 parent 4e3afdd commit 7d34b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ find_package(Boost 1.50 REQUIRED COMPONENTS
message(STATUS "Boost version: ${Boost_VERSION}")

# Install paths
set(FLUX_CMD_DIR "${CMAKE_INSTALL_PREFIX}/libexec/cmd")
set(FLUX_CMD_DIR "${CMAKE_INSTALL_LIBEXECDIR}/flux/cmd")
set(FLUX_LIB_DIR "${CMAKE_INSTALL_LIBDIR}/flux")
set(FLUX_MOD_DIR "${FLUX_LIB_DIR}/modules")
set(FLUX_SHELL_PLUGIN_DIR "${FLUX_LIB_DIR}/shell/plugins")
Expand Down

0 comments on commit 7d34b0b

Please sign in to comment.