Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Co-authored-by: Rene Gassmoeller <rene.gassmoeller@mailbox.org>
  • Loading branch information
MFraters and gassmoeller committed Jun 2, 2023
1 parent dc0fdfe commit ec5488e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -143,7 +143,10 @@ if(ASPECT_WITH_WORLD_BUILDER)
INCLUDE("${WORLD_BUILDER_SOURCE_DIR}/cmake/version.cmake")

IF(WORLD_BUILDER_VERSION VERSION_GREATER_EQUAL 0.5.0 AND NOT WORLD_BUILDER_VERSION_LABEL MATCHES "pre")
# Disable WorldBuilder messages less important than ERROR
SET (CMAKE_MESSAGE_LOG_LEVEL ERROR)
ADD_SUBDIRECTORY("${WORLD_BUILDER_SOURCE_DIR}" ${CMAKE_BINARY_DIR}/world_builder/ SYSTEM)
SET (CMAKE_MESSAGE_LOG_LEVEL STATUS)
INCLUDE_DIRECTORIES("${CMAKE_BINARY_DIR}/world_builder/include/")
ELSE()
IF(WORLD_BUILDER_VERSION VERSION_LESS 0.5.0)
Expand Down

0 comments on commit ec5488e

Please sign in to comment.