Skip to content

Commit 47d2794

Browse files
committed
cmake: don't give absolute path to install()
Using aboslute path will bypass the prefix value. Signed-off-by: Clément Péron <peron.clem@gmail.com>
1 parent ef7001f commit 47d2794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3440,7 +3440,7 @@ if(WIN32 OR CYGWIN OR MSYS)
34403440
endif(MSVC)
34413441
endif(MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
34423442
else(WIN32 OR CYGWIN OR MSYS)
3443-
install(TARGETS ${LIBRARIES_TO_INSTALL} DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR})
3443+
install(TARGETS ${LIBRARIES_TO_INSTALL} DESTINATION ${CMAKE_INSTALL_LIBDIR})
34443444
endif(WIN32 OR CYGWIN OR MSYS)
34453445

34463446
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pcap/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/pcap)

0 commit comments

Comments
 (0)