diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/XmlRpcEpi.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/cmake/XmlRpcEpi.cmake b/indra/cmake/XmlRpcEpi.cmake index ae2ed6a83f..337e4b8974 100644 --- a/indra/cmake/XmlRpcEpi.cmake +++ b/indra/cmake/XmlRpcEpi.cmake @@ -15,7 +15,8 @@ target_link_libraries(ll::xmlrpc-epi INTERFACE xmlrpc-epi ) if (USE_AUTOBUILD_3P OR USE_CONAN) target_include_directories( ll::xmlrpc-epi SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include) elseif (LINUX) -target_include_directories( ll::xmlrpc-epi SYSTEM INTERFACE /usr/include/xmlrpc-epi) + target_include_directories( ll::xmlrpc-epi SYSTEM INTERFACE + ${CMAKE_SYSROOT}/usr/include/xmlrpc-epi) elseif (DARWIN) target_include_directories( ll::xmlrpc-epi SYSTEM INTERFACE /usr/local/include) target_link_directories( ll::xmlrpc-epi SYSTEM INTERFACE /usr/local/lib) |