dust3d/thirdparty/cgal/CGAL-5.1/cmake/modules/CGAL_OpenGR_support.cmake

7 lines
291 B
CMake
Raw Normal View History

2020-10-13 12:44:25 +00:00
if(OpenGR_FOUND AND NOT TARGET CGAL::OpenGR_support)
add_library(CGAL::OpenGR_support INTERFACE IMPORTED)
set_target_properties(CGAL::OpenGR_support PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "CGAL_LINKED_WITH_OPENGR"
INTERFACE_INCLUDE_DIRECTORIES "${OpenGR_INCLUDE_DIR}")
endif()