diff --git a/ush/build.sh b/ush/build.sh index 5357afc..fa144c6 100755 --- a/ush/build.sh +++ b/ush/build.sh @@ -28,6 +28,9 @@ module list # Collect BUILD Options CMAKE_OPTS+=" -DBUILD_UTIL_ALLMON=ON" +# Build type for executables +CMAKE_OPTS+=" -DCMAKE_BUILD_TYPE=$BUILD_TYPE" + # Install destination for built executables, libraries, CMake Package config CMAKE_OPTS+=" -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX"