File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,19 @@ set(ext_cmake_dir_hints
1515
1616foreach (ext_cmake_dir_candidate IN LISTS EXT_CMAKE_HINTS EXT_CMAKE_PATHS ext_cmake_dir_hints)
1717 set (ext_cmake_dir "${ext_cmake_dir_candidate} " )
18+ get_filename_component (ext_cmake_dir "${ext_cmake_dir} " ABSOLUTE )
1819 if (EXISTS ${ext_cmake_dir} /ext_script_git_version.cmake)
19- message (STATUS "extINFO -- found ext cmake directory in: ${ext_cmake_dir} " )
20+ message (STATUS "extINFO -- Found ext cmake directory in: ${ext_cmake_dir} " )
21+
22+ set (ext_libraries_path_candidate "${ext_cmake_dir} /.." )
23+ get_filename_component (ext_libraries_path_candidate "${ext_libraries_path_candidate} " ABSOLUTE )
24+
25+ if (NOT EXT_LIBRARIES_PATH)
26+ if (EXISTS "${ext_libraries_path_candidate} /basics/include/ext/util" )
27+ message (STATUS "extINFO -- Setting EXT_LIBRARIES_PATH to: ${ext_libraries_path_candidate} (enable_cmake)" )
28+ set (EXT_LIBRARIES_PATH "${ext_libraries_path_candidate} " CACHE PATH "Path of ext libraries." )
29+ endif ()
30+ endif ()
2031 break ()
2132 endif ()
2233endforeach ()
You can’t perform that action at this time.
0 commit comments