Skip to content

Commit 78d9f92

Browse files
committed
fix: change default build type
1 parent 4d5d91c commit 78d9f92

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)
2727
#set(CMAKE_POSITION_INDEPENDENT_CODE ON)
2828

2929
if(NOT CMAKE_BUILD_TYPE MATCHES "Debug|Devel|MinSizeRel|RelWithDebInfo|Release")
30-
message(STATUS "CMAKE_BUILD_TYPE not set, defaulting to Debug.")
31-
set(CMAKE_BUILD_TYPE Debug)
30+
message(STATUS "CMAKE_BUILD_TYPE not set, defaulting to Release.")
31+
set(CMAKE_BUILD_TYPE Release)
3232
endif()
3333

3434
if(UNIX AND NOT APPLE)

external/plugify

src/module.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@
1313
#include <plg/any.hpp>
1414
#include <plg/vector.hpp>
1515

16-
#include <module_export.h>
17-
1816
#if __has_include(<stacktrace>)
1917
#include <stacktrace>
2018
#define HAS_STACKTRACE 1
2119
#else
2220
#define HAS_STACKTRACE 0
2321
#endif
2422

23+
#include <exception>
24+
#include <module_export.h>
25+
2526
#define LOG_PREFIX "[NETLM] "
2627

2728
using namespace plugify;

src/pch.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <mutex>
1717
#include <cassert>
1818
#include <expected>
19-
#include <exception>
2019

2120
#include <filesystem>
2221
namespace fs = std::filesystem;

0 commit comments

Comments
 (0)