- Add include guards on all the files - Add a vendor package for sqlite and gtest - Use relative paths to all the files
10 lines
221 B
CMake
10 lines
221 B
CMake
if(TARGET mbgl-vendor-earcut.hpp)
|
|
return()
|
|
endif()
|
|
|
|
add_library(mbgl-vendor-earcut.hpp INTERFACE)
|
|
|
|
target_include_directories(mbgl-vendor-earcut.hpp SYSTEM INTERFACE
|
|
${CMAKE_CURRENT_LIST_DIR}/earcut.hpp/include
|
|
)
|