⬆️ Updated pagedgeometry and caelum

This commit is contained in:
2022-10-28 12:54:18 +02:00
parent 17899a42a5
commit ad2652a1bd
7 changed files with 29 additions and 23 deletions

View File

@ -0,0 +1,25 @@
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -8,6 +8,8 @@
cmake_minimum_required(VERSION 3.0.2)
+set(CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR} ${CMAKE_MODULE_PATH})
+set(CMAKE_DEBUG_POSTFIX _d)
# define the project
project(
Caelum
@@ -29,7 +31,12 @@
SET(CMAKE_USE_RELATIVE_PATHS OFF)
-find_package(OGRE REQUIRED CONFIG)
+find_package(OGRE REQUIRED)
+
+add_library(OgreMain INTERFACE IMPORTED GLOBAL)
+target_include_directories(OgreMain INTERFACE ${OGRE_INCLUDE_DIRS})
+target_link_libraries(OgreMain INTERFACE ${OGRE_LIBRARIES})
+
# setup paths
SET(RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/")