Skip to content

Commit

Permalink
Use CMAKE_INSTALL_BINDIR instead of bin
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Aug 25, 2020
1 parent 5002a09 commit 0709a5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ endif()
set_target_properties(lfortran PROPERTIES RUNTIME_OUTPUT_DIRECTORY $<0:>)

install(TARGETS lfortran
RUNTIME DESTINATION bin
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION share/lfortran/lib
LIBRARY DESTINATION share/lfortran/lib
)
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(SRC
add_library(lfortran_runtime SHARED ${SRC})
add_library(lfortran_runtime_static STATIC ${SRC})
install(TARGETS lfortran_runtime lfortran_runtime_static
RUNTIME DESTINATION bin
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION share/lfortran/lib
LIBRARY DESTINATION share/lfortran/lib
)

0 comments on commit 0709a5c

Please sign in to comment.