The default install direction may not be in the compiler search path.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Without testing, I would say the variable is not visible in this CMake scope, as it is defined in openmp/runtime/src/CMakeLists.txt. I would assume that you need to set it with PARENT_SCOPE in openmp/runtime/src/CMakeLists.txt and openmp/runtime/CMakeLists.txt. Similar to LIBOMP_LIBRARY_DIR or LIBOMP_INCLUDE_DIR.
Comment Actions
Indeed! Didn't use the PARENT_SCOPE option because the two directories only have root as common parent directory though.