Skip to content

Commit 3c0a194

Browse files
committed
Static link by default
1 parent d5b9e3f commit 3c0a194

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR})
55
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/$<CONFIGURATION>)
66
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/$<CONFIGURATION>)
77

8+
option(BUILD_SHARED_LIBS OFF "Build static")
9+
810
if(MSVC)
911
add_definitions(/MP)
1012
add_definitions(/Qpar)

0 commit comments

Comments
 (0)