This commit is contained in:
2024-01-11 06:35:07 -05:00
parent 60c3a85c6f
commit 9f3098a026

View File

@@ -45,7 +45,11 @@ CPMAddPackage(
URL https://git.redacted.cc/josh/j3ml/archive/Prerelease-3.zip
)
# BSD 2-clause license.
CPMAddPackage(
NAME spng
URL https://codeload.github.com/randy408/libspng/zip/refs/tags/v0.7.4
)
add_library(Re3D SHARED ${SOURCES})
# Why god???
@@ -62,8 +66,9 @@ include_directories(
${ReWindow_SOURCE_DIR}/include
${ReHardwareID_SOURCE_DIR}/include
${J3ML_SOURCE_DIR}/include
${spng_SOURCE_DIR}/spng
)
target_link_libraries(Re3D_Demo PUBLIC Re3D ReWindowLibrary ReHardwareID J3ML ${OPENGL_LIBRARIES})
target_link_libraries(Re3D_Demo PUBLIC Re3D ReWindowLibrary ReHardwareID J3ML spng ${OPENGL_LIBRARIES})