axmol/thirdparty/clipper2/CMakeLists.txt

12 lines
264 B
CMake
Raw Normal View History

2022-08-27 23:10:36 +08:00
set(lib_name clipper2)
set(target_name ${lib_name})
project(${lib_name})
2023-02-25 06:21:08 +08:00
file(GLOB_RECURSE CLIPPER_SOURCES *.h;*.cpp)
2022-08-27 23:10:36 +08:00
2023-02-25 06:21:08 +08:00
add_library(${target_name} STATIC ${CLIPPER_SOURCES})
target_include_directories(${target_name} PUBLIC "${CMAKE_CURRENT_LIST_DIR}/include")