Skip to content

Commit

Permalink
Do minor changes to cmake files
Browse files Browse the repository at this point in the history
This is a partial port of the commit
3568f43cd5b1e246aec3f1347fc353f388885f1a from the ogre (not ogre-next)
repository, omitting the zip header changes which doesn't apply.

  * MacroLogFeature: Clarify that even if a package is found it will not be used if a feature is disabled
  * Use list append on CMAKE_MODULE_PATH to allow prepending it with toolchain file, which is used with conan recipe.
  • Loading branch information
paroj authored and Apteryks committed Nov 6, 2024
1 parent 23e53e0 commit d30a976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ endif()
project(OGRE-Next)

# Include necessary submodules
set(CMAKE_MODULE_PATH
list(APPEND CMAKE_MODULE_PATH
"${PROJECT_SOURCE_DIR}/CMake"
"${PROJECT_SOURCE_DIR}/CMake/Utils"
"${PROJECT_SOURCE_DIR}/CMake/Packages"
Expand Down

0 comments on commit d30a976

Please sign in to comment.