Update CMakeLists.txt

This commit is contained in:
2024-06-13 23:08:56 -04:00
parent 42032347df
commit 8f736f445e

View File

@@ -34,10 +34,11 @@ CPMAddPackage(
URL https://git.redacted.cc/Redacted/ReWindow/archive/vA0.2.32.zip
)
CPMAddPackage(
NAME ReHardwareID
URL https://git.redacted.cc/Redacted/ReHardwareID/archive/v1.1.zip
)
#Temporarily removed due to SystemD requirement.
#CPMAddPackage(
# NAME ReHardwareID
# URL https://git.redacted.cc/Redacted/ReHardwareID/archive/v1.1.zip
#)
CPMAddPackage(
NAME J3ML
@@ -77,7 +78,7 @@ CPMAddPackage(
include_directories(
${PROJECT_SOURCE_DIR}/include
${ReWindow_SOURCE_DIR}/include
${ReHardwareID_SOURCE_DIR}/include
#${ReHardwareID_SOURCE_DIR}/include
${J3ML_SOURCE_DIR}/include
${ReTexture_SOURCE_DIR}/include
${glad_SOURCE_DIR}/include
@@ -88,14 +89,13 @@ include_directories(
${JGL_SOURCE_DIR}/include
)
add_library(Re3D SHARED ${SOURCES})
# Why god???
set_target_properties(Re3D PROPERTIES LINKER_LANGUAGE CXX)
find_package(OpenGL REQUIRED)
target_link_libraries(Re3D PUBLIC Event ReWindowLibrary ReHardwareID ReTexture J3ML GL glad Collage JGL archive)
target_link_libraries(Re3D PUBLIC Event ReWindowLibrary ReTexture J3ML GL glad Collage JGL archive)
include(src/demo/RuntimeTest/CMakeLists.txt)