about summary refs log tree commit diff
path: root/third_party/nix/src/libmain/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libmain/CMakeLists.txt')
-rw-r--r--third_party/nix/src/libmain/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libmain/CMakeLists.txt b/third_party/nix/src/libmain/CMakeLists.txt
index a4ba48d7087b..2520c85cc50a 100644
--- a/third_party/nix/src/libmain/CMakeLists.txt
+++ b/third_party/nix/src/libmain/CMakeLists.txt
@@ -27,4 +27,4 @@ target_link_libraries(nixmain
 )
 
 INSTALL(FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/nix/libmain)
-INSTALL(TARGETS nixmain DESTINATION lib)
+INSTALL(TARGETS nixmain DESTINATION ${CMAKE_INSTALL_LIBDIR})