Skip to content

Commit

Permalink
cmake variable sc_external is now an option.
Browse files Browse the repository at this point in the history
addressing issue #213
  • Loading branch information
pkestene committed May 4, 2023
1 parent 81aa78e commit d445d6a
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 d445d6a

Please sign in to comment.