summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-07 01:47:23 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-09 19:57:10 +0200
commit26a878a7a0cc870203d15ea8b0bc178a31a0e629 (patch)
tree642c05cea1cf684d6e313169dff9fbe0f5099ad6
parentbb5c4e81c5648c509acaef9df8a6a988a6474858 (diff)
downloadqtlocation-mapboxgl-26a878a7a0cc870203d15ea8b0bc178a31a0e629.tar.gz
[build] Include an internal/internal.cmake if exists
Useful for including extra modules in forks.
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 588975e589..603615b37a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1013,3 +1013,7 @@ endif()
add_subdirectory(${PROJECT_SOURCE_DIR}/test)
add_subdirectory(${PROJECT_SOURCE_DIR}/benchmark)
add_subdirectory(${PROJECT_SOURCE_DIR}/render-test)
+
+if(EXISTS ${PROJECT_SOURCE_DIR}/internal/internal.cmake)
+ include(${PROJECT_SOURCE_DIR}/internal/internal.cmake)
+endif()