Skip to content

Commit cc0d7f9

Browse files
committed
Add exception in paths for Guix installation.
1 parent b9e7146 commit cc0d7f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ if("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr" OR "${CMAKE_INSTALL_PREFIX}" STREQU
195195
endif()
196196

197197
# Installation paths
198-
if(UNIX AND SYSTEM_DIR_INSTALL)
198+
if(UNIX AND SYSTEM_DIR_INSTALL OR OPTION_BUILD_GUIX)
199199
# Install into the system (/usr/bin or /usr/local/bin)
200200
set(INSTALL_ROOT "share/${project}") # /usr/[local]/share/<project>
201201
set(INSTALL_CMAKE "share/${project}/cmake") # /usr/[local]/share/<project>/cmake

0 commit comments

Comments
 (0)