After finding it in `foo.Framework/Headers/dir/header.h`, we should report the `foo.Framework/Headers` directory, not `foo.Framework/Headers/dir`, because the former is what actually contains the path the caller wishes to include.
4 lines
172 B
CMake
4 lines
172 B
CMake
set(CMAKE_FRAMEWORK_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Frameworks")
|
|
find_path(SOME_INCLUDE_DIR "Some/Dir/Header.h")
|
|
message(STATUS "SOME_INCLUDE_DIR='${SOME_INCLUDE_DIR}'")
|