Added no build static-library option.
This commit is contained in:
Takatoshi Kondo
2018-08-08 20:02:40 +09:00
parent 8a3a11f123
commit 3aaadb9b12
3 changed files with 52 additions and 36 deletions

View File

@@ -1,6 +1,8 @@
IF (MSGPACK_ENABLE_SHARED)
IF (BUILD_SHARED_LIBS OR MSGPACK_ENABLE_SHARED)
SET (MSGPACK_LIB msgpackc)
ELSE ()
ENDIF ()
IF (MSGPACK_ENABLE_STATIC)
SET (MSGPACK_LIB msgpackc-static)
ENDIF ()