Merge branch 'development' into MiscImprovements
This commit is contained in:
commit
a5ff0edf1f
|
@ -138,14 +138,14 @@ elseif (CMAKE_BUILD_TYPE STREQUAL "PERFORMANCE")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# $OPTIMIZATION takes precedence over $BUILD_TYPE defaults
|
# $OPTIMIZATION takes precedence over $BUILD_TYPE defaults
|
||||||
if (OPTIMIZATION STREQUAL "")
|
if (OPTIMIZATION STREQUAL "" OR NOT DEFINED OPTIMIZATION)
|
||||||
set (OPTIMIZATION "${OPTI}")
|
set (OPTIMIZATION "${OPTI}")
|
||||||
else ()
|
else ()
|
||||||
set (OPTIMIZATION "${OPTIMIZATION}")
|
set (OPTIMIZATION "${OPTIMIZATION}")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# $OPENMP takes precedence over $BUILD_TYPE defaults
|
# $OPENMP takes precedence over $BUILD_TYPE defaults
|
||||||
if (OPENMP STREQUAL "")
|
if (OPENMP STREQUAL "" OR NOT DEFINED OPENMP)
|
||||||
set (OPENMP "${PARALLEL}")
|
set (OPENMP "${PARALLEL}")
|
||||||
else ()
|
else ()
|
||||||
set(OPENMP "${OPENMP}")
|
set(OPENMP "${OPENMP}")
|
||||||
|
|
Loading…
Reference in New Issue