Files
dusk/cmake/modules/Findfast_obj.cmake
T
2026-04-10 22:09:01 -05:00

21 lines
538 B
CMake

# Copyright (c) 2026 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
include(FetchContent)
if(NOT TARGET fast_obj)
FetchContent_Declare(
fast_obj
GIT_REPOSITORY https://github.com/thisistherk/fast_obj.git
GIT_TAG master
)
FetchContent_MakeAvailable(fast_obj)
endif()
set(fast_obj_FOUND TRUE)
set(FAST_OBJ_INCLUDE_DIRS "${fast_obj_SOURCE_DIR}")
set(FAST_OBJ_LIBRARIES fast_obj)
mark_as_advanced(FAST_OBJ_INCLUDE_DIRS FAST_OBJ_LIBRARIES fast_obj_FOUND)