Rename ;)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.18)
|
||||
project(SDL3D
|
||||
project(Re3D
|
||||
VERSION 1.0
|
||||
LANGUAGES CXX
|
||||
)
|
||||
@@ -27,9 +27,9 @@ file(GLOB_RECURSE ASSETS "assets/*")
|
||||
|
||||
include_directories("include")
|
||||
|
||||
add_library(SDL3D SHARED ${SOURCES})
|
||||
add_library(Re3D SHARED ${SOURCES})
|
||||
# Why god???
|
||||
set_target_properties(SDL3D PROPERTIES LINKER_LANGUAGE CXX)
|
||||
set_target_properties(Re3D PROPERTIES LINKER_LANGUAGE CXX)
|
||||
|
||||
CPMAddPackage(
|
||||
NAME glm
|
||||
@@ -55,6 +55,6 @@ find_package(OpenGL REQUIRED)
|
||||
include_directories({$OPENGL_INCLUDE_DIRS})
|
||||
find_package(glm REQUIRED)
|
||||
find_package(ReWindowLibrary REQUIRED)
|
||||
target_link_libraries(SDL3D PUBLIC glm::glm ReWindowLibrary ${OPENGL_LIBRARIES})
|
||||
add_executable(SDL3D_Demo "include/demo/main.cpp")
|
||||
target_link_libraries(SDL3D_Demo PUBLIC SDL3D)
|
||||
target_link_libraries(Re3D PUBLIC glm::glm ReWindowLibrary ${OPENGL_LIBRARIES})
|
||||
add_executable(Re3D_Demo "include/demo/main.cpp")
|
||||
target_link_libraries(Re3D_Demo PUBLIC Re3D)
|
Reference in New Issue
Block a user