Skip to content

Commit

Permalink
chore: set install libdir var
Browse files Browse the repository at this point in the history
  • Loading branch information
Dup4 committed Apr 18, 2022
1 parent 4d2e81a commit cd983be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# place binaries and libraries according to GNU standards
include(GNUInstallDirs)

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR})

# place binaries and libraries according to GNU standards
include(GNUInstallDirs)

include_directories(
${PROJECT_SOURCE_DIR}/include/
)
Expand Down

0 comments on commit cd983be

Please sign in to comment.