From 91ecebaa7f13c8a301b603c1acf82937e9ecffd0 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 13 Jan 2025 14:39:15 +0100 Subject: [PATCH] [cmake] revert 824ace49accd8a535f10b1e72f359935175cc63e cmake configuration file locations are no different on linux and FreeBSD --- cmake/SetFreeRDPCMakeInstallDir.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmake/SetFreeRDPCMakeInstallDir.cmake b/cmake/SetFreeRDPCMakeInstallDir.cmake index f088ed907..7c4ac2cb3 100644 --- a/cmake/SetFreeRDPCMakeInstallDir.cmake +++ b/cmake/SetFreeRDPCMakeInstallDir.cmake @@ -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()