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()