Sexpr: needs to be a STATIC lib

Fedora COPR builds with -DBUILD_SHARED_LIBS:BOOL=ON, which
means this breaks until the sexpr lib target is explicitly
STATIC
This commit is contained in:
John Beard 2019-04-24 17:30:28 +01:00
parent 15bba27406
commit f7d35cf94b
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,9 @@ set( SEXPR_LIB_FILES
sexpr_parser.cpp
)
add_library( sexpr ${SEXPR_LIB_FILES} )
add_library( sexpr STATIC
${SEXPR_LIB_FILES}
)
target_include_directories( sexpr PUBLIC
include