HDFFV-10385 refactor CMAKE_BUILD_TYPE usage

This commit is contained in:
Allen Byrne
2018-01-09 09:56:28 -06:00
parent 823755ace8
commit be42e04791
27 changed files with 129 additions and 89 deletions

View File

@@ -15,6 +15,14 @@
#-------------------------------------------------------------------------------
ENABLE_LANGUAGE (Fortran)
#-------------------------------------------------------------------------------
# Fix Fortran flags if we are compiling staticly on Windows using
# Windows_MT.cmake from config/cmake/UserMacros
#-------------------------------------------------------------------------------
if (BUILD_STATIC_CRT_LIBS)
TARGET_STATIC_CRT_FLAGS ()
endif ()
#-----------------------------------------------------------------------------
# Detect name mangling convention used between Fortran and C
#-----------------------------------------------------------------------------