1
Fork 0
raytracer/extern/tinyobjloader/CMakeLists.txt
Joshua Goins 6098f0dcca Port to C++ modules
Still incomplete, but now builds in modules.
2024-09-26 13:49:16 +02:00

10 lines
357 B
CMake

add_library(tinyobjloader STATIC)
target_sources(tinyobjloader PUBLIC
FILE_SET CXX_MODULES FILES
src/tiny_obj_loader.cpp)
target_include_directories(tinyobjloader PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)
set_target_properties(tinyobjloader PROPERTIES
CXX_STANDARD 23
CXX_STANDARD_REQUIRED YES
CXX_EXTENSIONS NO
)