Skip to content

Commit

Permalink
Fix library installation path on multilib systems
Browse files Browse the repository at this point in the history
  • Loading branch information
G10h4ck committed Oct 2, 2021
1 parent 6473c30 commit 99bcd4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cmake_minimum_required (VERSION 2.8)

include(ExternalProject)
include(GNUInstallDirs)

project(pHash)
set(CMAKE_MACOSX_RPATH 1)
Expand Down Expand Up @@ -94,7 +95,7 @@ endif()
set_property(TARGET pHash PROPERTY VERSION "${pHash_VERSION_MAJOR}.${pHash_VERSION_MINOR}.${pHash_VERSION_PATCH}")
target_link_libraries(pHash ${LIBS_DEPS})

install(TARGETS pHash DESTINATION lib)
install(TARGETS pHash DESTINATION ${LIBDIR})
install(FILES src/pHash.h DESTINATION include)

if(PHASH_EXAMPLES)
Expand Down

0 comments on commit 99bcd4d

Please sign in to comment.