This commit is contained in:
Alexander Karatarakis 2017-05-10 15:55:18 -07:00
parent b1110308f6
commit 69514e6330

View File

@ -15,8 +15,8 @@ set(LIBBZ2_SOURCES
bzlib.c)
add_library(libbz2 ${LIBBZ2_SOURCES})
set_target_properties(libbz2 PROPERTIES
ARCHIVE_OUTPUT_NAME bz2 # reqiured for FindBzip2 to work
set_target_properties(libbz2 PROPERTIES
ARCHIVE_OUTPUT_NAME bz2 # required for FindBzip2 to work
DEBUG_POSTFIX d)
if(BUILD_SHARED_LIBS)
target_compile_definitions(libbz2 PRIVATE -DBZ_BUILD_DLL)