]> granicus.if.org Git - esp-idf/commitdiff
cmake: Move third-party cmake modules to their own directory
authorAngus Gratton <angus@espressif.com>
Mon, 15 Jan 2018 02:22:02 +0000 (13:22 +1100)
committerAngus Gratton <gus@projectgus.com>
Sun, 29 Apr 2018 23:59:20 +0000 (09:59 +1000)
idf.cmake
tools/cmake/third_party/GetGitRevisionDescription.cmake [moved from tools/cmake/GetGitRevisionDescription.cmake with 100% similarity]
tools/cmake/third_party/GetGitRevisionDescription.cmake.in [moved from tools/cmake/GetGitRevisionDescription.cmake.in with 100% similarity]

index 800f32a0fc3881d93ca625bb812c6ebc3bd0ffb4..225b229e0e9dd123f915a1330b6f50289067ef38 100644 (file)
--- a/idf.cmake
+++ b/idf.cmake
@@ -27,7 +27,7 @@ set(PROJECT_PATH "${CMAKE_SOURCE_DIR}")
 #
 # Load cmake modules
 #
-set(CMAKE_MODULE_PATH "${IDF_PATH}/tools/cmake" ${CMAKE_MODULE_PATH})
+set(CMAKE_MODULE_PATH "${IDF_PATH}/tools/cmake" "${IDF_PATH}/tools/cmake/third_party" ${CMAKE_MODULE_PATH})
 include(GetGitRevisionDescription)
 include(utilities)
 include(components)