Skip to content

Commit

Permalink
Whoops - need to translate the active value not the cached value.
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Sep 28, 2024
1 parent e1588ea commit d6a9459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ set(MANIFOLD_VERSION "${MANIFOLD_VERSION_MAJOR}.${MANIFOLD_VERSION_MINOR}.${MANI
# work this way)
if (DEFINED MANIFOLD_PAR)
if ("${MANIFOLD_PAR}" STREQUAL "" OR "${MANIFOLD_PAR}" STREQUAL "NONE")
set(MANIFOLD_PAR OFF CACHE BOOL "Normalized MANIFOLD_PAR setting")
set(MANIFOLD_PAR OFF)
else()
set(MANIFOLD_PAR ON CACHE BOOL "Normalized MANIFOLD_PAR setting")
set(MANIFOLD_PAR ON)
endif ()
endif ()

Expand Down

0 comments on commit d6a9459

Please sign in to comment.