add pure doom dep

This commit is contained in:
Green Sky 2024-03-08 21:36:54 +01:00
parent 72d85947a0
commit 8c797673ca
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View File

@ -60,3 +60,7 @@ endif()
#FetchContent_MakeAvailable(oatpp) #FetchContent_MakeAvailable(oatpp)
#endif() #endif()
if (NOT TARGET PureDOOM)
add_subdirectory(./pure_doom)
endif()

5
external/pure_doom/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
add_library(PureDOOM INTERFACE "./PureDOOM/PureDOOM.h")
target_include_directories(PureDOOM SYSTEM INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")