Przeglądaj źródła

Default to Release build

enhancement_3
Trevor Irons 8 lat temu
rodzic
commit
11b34a3a44
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4
    0
      CMakeLists.txt

+ 4
- 0
CMakeLists.txt Wyświetl plik

@@ -32,6 +32,10 @@ else()
32 32
 	set(LABEL_SUFFIX "static")
33 33
 endif()
34 34
 
35
+if (NOT CMAKE_BUILD_TYPE)
36
+  set(CMAKE_BUILD_TYPE "Release")
37
+endif()
38
+
35 39
 ###################
36 40
 # External Projects
37 41
 ###################

Ładowanie…
Anuluj
Zapisz