diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-07-11 14:58:08 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-07-19 10:47:10 +0800 |
commit | b4d1301f272e707548f30f52671db76576273eaa (patch) | |
tree | 6fccb5c4d4c349947da2bd0d47647e0c5422a35f /indra | |
parent | 78fc526400e253500f809e15b2da50061883d8c8 (diff) |
Not use use_system_binary for system GLH
No package manager that I know of provide such package. So this one is
expected to be installed in /usr/local/include.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/GLH.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/GLH.cmake b/indra/cmake/GLH.cmake index 0cefc3543a..49c4e3b37a 100644 --- a/indra/cmake/GLH.cmake +++ b/indra/cmake/GLH.cmake @@ -3,5 +3,10 @@ include(Prebuilt) add_library( ll::glh_linear INTERFACE IMPORTED ) +if (NOT (USE_AUTOBUILD_3P OR USE_CONAN)) + target_include_directories( ll::glh_linear SYSTEM INTERFACE /usr/local/include ) + return () +endif () + use_system_binary( glh_linear ) use_prebuilt_binary(glh_linear) |