Skip to content

Commit bba7589

Browse files
committed
create a static lib on Windows
1 parent 3de1159 commit bba7589

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/SeExpr/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ endif()
7979

8080
## Make the SeExpr library with and without LLVM support
8181
file(GLOB llvm_cpp "*.cpp")
82-
add_library(SeExpr2 SHARED ${io_cpp} ${core_cpp} ${parser_cpp} ${llvm_cpp})
8382
if (NOT WIN32)
83+
add_library(SeExpr2 SHARED ${io_cpp} ${core_cpp} ${parser_cpp} ${llvm_cpp})
8484
target_link_libraries(SeExpr2 "dl" "pthread")
85+
else()
86+
add_library(SeExpr2 STATIC ${io_cpp} ${core_cpp} ${parser_cpp} ${llvm_cpp})
8587
endif()
8688

8789
## Install binary and includes

0 commit comments

Comments
 (0)