Update CMakeLists.txt
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sat, 5 Nov 2016 12:05:05 +0000 (13:05 +0100)
committerGitHub <noreply@github.com>
Sat, 5 Nov 2016 12:05:05 +0000 (13:05 +0100)
CMakeLists.txt

index 551ca29..707f425 100644 (file)
@@ -32,6 +32,10 @@ endif()
 
 if(CMAKE_CONFIGURATION_TYPES) # multiconfig generator?
         set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)
+        set(CMAKE_BUILD_TYPE
+               Debug Debug
+               Release Release
+       )
        set(OpenBLAS_LIBNAME
                Debug "${OpenBLAS_LIBNAME}_d"
                Release "${OpenBLAS_LIBNAME}"