Skip to content

Commit

Permalink
Use CMAKE_INSTALL_<path> instead of hardcoding bin/lib/ install paths
Browse files Browse the repository at this point in the history
Helps fix build/packaging issues on machines where default libdir is not
lib but say lib64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Dec 17, 2019
1 parent 8449529 commit 573c852
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Expand Up @@ -46,7 +46,7 @@ install(TARGETS "tinyalsa"
"tinycap"
"tinymix"
"tinypcminfo"
RUNTIME DESTINATION "bin"
ARCHIVE DESTINATION "lib"
LIBRARY DESTINATION "lib")
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")

0 comments on commit 573c852

Please sign in to comment.