Skip to content

Commit 188db5d

Browse files
committed
fix(build): #269
1 parent af6b69e commit 188db5d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ add_compile_definitions(SPDLOG_BUILD_SHARED=OFF)
7676
set(spdlog_DIR ${CMAKE_SOURCE_DIR}/3rdparty/spdlog)
7777
add_subdirectory(3rdparty/spdlog)
7878

79+
if(WIN32)
80+
add_compile_definitions(UNICODE _UNICODE)
81+
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
82+
set(GUI_TYPE WIN32)
83+
endif()
84+
7985
if(UNIX AND NOT APPLE)
8086
find_program(LSB_RELEASE_EXEC lsb_release)
8187
execute_process(COMMAND ${LSB_RELEASE_EXEC} -is

makespec/VERSIONSUFFIX

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.1

0 commit comments

Comments
 (0)