chore: only enable portable mode support for windows

This commit is contained in:
Gary Wang committed 2020-08-10 23:41:59 +08:00
1 parent f3b3ad7b8a
commit 3b94eecde2
2 files changed
+6

No files matched your search

+4
View File
@@ -71,6 +71,10 @@ if (WIN32)
TARGET ${EXE_NAME}
PROPERTY WIN32_EXECUTABLE true
)
target_compile_definitions(${EXE_NAME} PRIVATE
FLAG_PORTABLE_MODE_SUPPORT=1
)
endif ()
# Helper macros for install settings