cmake configuration file locations are no different on linux and FreeBSD
This commit is contained in:
akallabeth 2025-01-13 14:39:15 +01:00
parent 79345a72ed
commit 91ecebaa7f
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -1,7 +1,3 @@
function(SetFreeRDPCMakeInstallDir SETVAR subdir)
if(FREEBSD)
set(${SETVAR} "${CMAKE_INSTALL_DATAROOTDIR}/cmake/Modules/${subdir}" PARENT_SCOPE)
else()
set(${SETVAR} "${CMAKE_INSTALL_LIBDIR}/cmake/${subdir}" PARENT_SCOPE)
endif()
set(${SETVAR} "${CMAKE_INSTALL_LIBDIR}/cmake/${subdir}" PARENT_SCOPE)
endfunction()