Skip to content

Commit

Permalink
Merge pull request #214 from pkestene/fix/sc_external_in_cmake
Browse files Browse the repository at this point in the history
cmake variable sc_external is now a cmake option.
  • Loading branch information
cburstedde authored Jul 15, 2023
2 parents ad799de + d445d6a commit eb24772
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ option(enable_p6est "build p6est" on)
option(enable_p8est "build p8est" on)

option(enable-file-deprecated "use depreacted data file format" off)
option(sc_external "build sc library" ON)

option(vtk_binary "VTK binary interface" on)
if(vtk_binary)
Expand Down
2 changes: 0 additions & 2 deletions cmake/sc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
include(ExternalProject)
include(${CMAKE_CURRENT_LIST_DIR}/GitSubmodule.cmake)

set(sc_external true CACHE BOOL "build sc library" FORCE)

git_submodule("${PROJECT_SOURCE_DIR}/sc")

# --- libsc externalProject
Expand Down

0 comments on commit eb24772

Please sign in to comment.