diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-01-29 08:58:25 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-01-29 08:58:25 +0800 |
| commit | 9c6df0a3f8afd8a796f7fc9f84d262133753beb2 (patch) | |
| tree | dff3e552b685197ee1cbedc4ebec18e00232eca5 | |
| parent | 65c34527fd80b51f17a16e12f306649ce03398dc (diff) | |
| download | yuescript-9c6df0a3f8afd8a796f7fc9f84d262133753beb2.tar.gz yuescript-9c6df0a3f8afd8a796f7fc9f84d262133753beb2.tar.bz2 yuescript-9c6df0a3f8afd8a796f7fc9f84d262133753beb2.zip | |
Added missing flag.
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 87f3d76..42d84d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -111,6 +111,10 @@ if (IS_TERMUX) | |||
| 111 | target_compile_definitions(libyue PRIVATE YUE_NO_WATCHER) | 111 | target_compile_definitions(libyue PRIVATE YUE_NO_WATCHER) |
| 112 | endif() | 112 | endif() |
| 113 | 113 | ||
| 114 | if (MSVC) | ||
| 115 | target_compile_definitions(libyue PRIVATE YUE_BUILD_AS_DLL) | ||
| 116 | endif () | ||
| 117 | |||
| 114 | add_executable(yue | 118 | add_executable(yue |
| 115 | src/yuescript/ast.cpp | 119 | src/yuescript/ast.cpp |
| 116 | src/yuescript/parser.cpp | 120 | src/yuescript/parser.cpp |
