mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
52 lines
1.8 KiB
CMake
52 lines
1.8 KiB
CMake
macro(MacroCommonPaths NAME)
|
|
set(COMMON_INCLUDE_PATHS_${NAME}
|
|
$ENV{${NAME}_DIR}/include
|
|
$ENV{${NAME}_DIR}
|
|
$ENV{${NAME}_ROOT}/include
|
|
$ENV{${NAME}_ROOT}
|
|
~/Library/Frameworks
|
|
/Library/Frameworks
|
|
/usr/local/include
|
|
/usr/include
|
|
/sw/include # Fink
|
|
/opt/local/include # DarwinPorts
|
|
/opt/csw/include # Blastwave
|
|
/opt/include
|
|
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\\Manager\\Environment;${NAME}_DIR]/include
|
|
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\\Manager\\Environment;${NAME}_ROOT]/include
|
|
/usr/freeware/include
|
|
)
|
|
set(COMMON_LIB_PATHS_${NAME}
|
|
$ENV{${NAME}_DIR}/lib
|
|
$ENV{${NAME}_DIR}
|
|
~/Library/Frameworks
|
|
/Library/Frameworks
|
|
/usr/local/lib
|
|
/usr/lib
|
|
/sw/lib
|
|
/opt/local/lib
|
|
/opt/csw/lib
|
|
/opt/lib
|
|
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\\Manager\\Environment;${NAME}_DIR]/lib
|
|
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\\Manager\\Environment;${NAME}_ROOT]/lib
|
|
/usr/freeware/lib64
|
|
)
|
|
set(COMMON_DATA_PATHS_${NAME}
|
|
$ENV{${NAME}_DIR}/share
|
|
$ENV{${NAME}_DIR}
|
|
~/Library/Frameworks
|
|
/Library/Frameworks
|
|
/usr/local/share
|
|
/usr/share
|
|
/sw/share
|
|
/opt/local/share
|
|
/opt/csw/share
|
|
/opt/share
|
|
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\\Manager\\Environment;${NAME}_DIR]/share
|
|
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\\Manager\\Environment;${NAME}_ROOT]/share
|
|
/usr/freeware/share64
|
|
)
|
|
endmacro(MacroCommonPaths)
|
|
|
|
# vim:ts=4:sw=4:expandtab
|