Skip to content

Commit 9c6df0a

Browse files
committed
Added missing flag.
1 parent 65c3452 commit 9c6df0a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ if (IS_TERMUX)
111111
target_compile_definitions(libyue PRIVATE YUE_NO_WATCHER)
112112
endif()
113113

114+
if (MSVC)
115+
target_compile_definitions(libyue PRIVATE YUE_BUILD_AS_DLL)
116+
endif ()
117+
114118
add_executable(yue
115119
src/yuescript/ast.cpp
116120
src/yuescript/parser.cpp

0 commit comments

Comments
 (0)