mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-02 08:10:35 +08:00
21 lines
761 B
CMake
21 lines
761 B
CMake
#/|/ Copyright (c) Prusa Research 2019 - 2021 Tomáš Mészáros @tamasmeszaros
|
|
#/|/
|
|
#/|/ PrusaSlicer is released under the terms of the AGPLv3 or higher
|
|
#/|/
|
|
|
|
prusaslicer_add_cmake_project(OpenCSG
|
|
# GIT_REPOSITORY https://github.com/floriankirsch/OpenCSG.git
|
|
# GIT_TAG 83e274457b46c9ad11a4ee599203250b1618f3b9 #v1.4.2
|
|
URL https://github.com/floriankirsch/OpenCSG/archive/refs/tags/opencsg-1-4-2-release.zip
|
|
URL_HASH SHA256=51afe0db79af8386e2027d56d685177135581e0ee82ade9d7f2caff8deab5ec5
|
|
PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt.in ./CMakeLists.txt
|
|
DEPENDS dep_GLEW
|
|
)
|
|
|
|
if (TARGET ${ZLIB_PKG})
|
|
add_dependencies(dep_OpenCSG ${ZLIB_PKG})
|
|
endif()
|
|
|
|
if (MSVC)
|
|
add_debug_dep(dep_OpenCSG)
|
|
endif () |