diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | platform/glfw/CMakeLists.txt | 4 | ||||
m--------- | vendor/cheap-ruler-cpp | 0 | ||||
-rw-r--r-- | vendor/cheap-ruler-cpp.cmake | 12 |
4 files changed, 1 insertions, 18 deletions
diff --git a/.gitmodules b/.gitmodules index 459ca1b2c..de7abf84e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -34,9 +34,6 @@ [submodule "vendor/benchmark"] path = vendor/benchmark url = https://github.com/google/benchmark.git -[submodule "vendor/cheap-ruler-cpp"] - path = vendor/cheap-ruler-cpp - url = https://github.com/mapbox/cheap-ruler-cpp.git [submodule "vendor/glfw"] path = vendor/glfw url = https://github.com/glfw/glfw.git diff --git a/platform/glfw/CMakeLists.txt b/platform/glfw/CMakeLists.txt index dd7fd306a..2a1524e11 100644 --- a/platform/glfw/CMakeLists.txt +++ b/platform/glfw/CMakeLists.txt @@ -28,8 +28,6 @@ target_include_directories( PRIVATE ${PROJECT_SOURCE_DIR}/src ) -include(${PROJECT_SOURCE_DIR}/vendor/cheap-ruler-cpp.cmake) - # Use target_link_directories when we move away from CMake 3.10. target_link_libraries( mbgl-glfw @@ -45,7 +43,7 @@ target_link_libraries( Mapbox::Base::Extras::rapidjson Mapbox::Map mbgl-compiler-options - mbgl-vendor-cheap-ruler-cpp + Mapbox::Base::cheap-ruler-cpp ) if(MBGL_WITH_OPENGL) diff --git a/vendor/cheap-ruler-cpp b/vendor/cheap-ruler-cpp deleted file mode 160000 -Subproject 98cbe70dab74c5b77f139013ea5b3623d3ba3dc diff --git a/vendor/cheap-ruler-cpp.cmake b/vendor/cheap-ruler-cpp.cmake deleted file mode 100644 index 7fa21eb69..000000000 --- a/vendor/cheap-ruler-cpp.cmake +++ /dev/null @@ -1,12 +0,0 @@ -if(TARGET mbgl-vendor-cheap-ruler-cpp) - return() -endif() - -add_library( - mbgl-vendor-cheap-ruler-cpp INTERFACE -) - -target_include_directories( - mbgl-vendor-cheap-ruler-cpp SYSTEM - INTERFACE ${CMAKE_CURRENT_LIST_DIR}/cheap-ruler-cpp/include -) |