freerdp/cmake/SetFreeRDPCMakeInstallDir.c...

8 lines
251 B
CMake
Raw Normal View History

2023-05-09 21:29:50 +00:00
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()
endfunction()