Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ cmake_minimum_required( VERSION 3.16 )

include( cmake/GitProjectVersion.cmake )
include( FetchContent )
# All fetchcontent cmake options+ are marked as advanced below.

project(
T8CODE
Expand Down Expand Up @@ -295,6 +296,14 @@ set(CMAKE_C_FLAGS "${ORIGINAL_C_FLAGS}" CACHE STRING "" FORCE)

# End of workaround

# Mark all cmake options starting with FETCHCONTENT as advanced.
get_cmake_property(_cmake_vars VARIABLES)
foreach(_var ${_cmake_vars})
if(_var MATCHES "^FETCHCONTENT_.*")
mark_as_advanced(${_var})
endif()
endforeach()

add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/src )

if( T8CODE_BUILD_MESH_HANDLE )
Expand Down
Loading