CMake: User a better definition for WIRESHARK_INSTALL_CMAKEDIR
Previously this was lib/wireshark/cmake. User lib/cmake/wireshark instead. Both are standard search paths but the second is more conventional and inline with expected package behaviour on Unix.
This commit is contained in:
parent
194b578e82
commit
c58705654d
|
@ -4052,7 +4052,7 @@ if(WIN32 AND NOT USE_MSYSTEM)
|
|||
# path (incorrect relative path computation).
|
||||
set(WIRESHARK_INSTALL_CMAKEDIR "cmake")
|
||||
else()
|
||||
set(WIRESHARK_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}/cmake")
|
||||
set(WIRESHARK_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
|
||||
endif()
|
||||
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
|
Loading…
Reference in New Issue