Skip to content
Snippets Groups Projects
Commit 2d9a7312 authored by Mathis Rosenhauer's avatar Mathis Rosenhauer
Browse files

Expand include path

parent 3fa0d2cf
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,7 @@ add_library(aec_static STATIC "$<TARGET_OBJECTS:aec>")
target_link_libraries(aec_static PUBLIC aec)
set_target_properties(aec_static
PROPERTIES
OUTPUT_NAME $<IF:$<BOOL:${MSVC}>,aec-static,aec>
)
OUTPUT_NAME $<IF:$<BOOL:${MSVC}>,aec-static,aec>)
add_library(aec_shared SHARED "$<TARGET_OBJECTS:aec>")
target_link_libraries(aec_shared PUBLIC aec)
......@@ -24,7 +23,8 @@ set_target_properties(aec_shared
PROPERTIES
VERSION 0.0.12
SOVERSION 0
OUTPUT_NAME aec)
OUTPUT_NAME aec
PUBLIC_HEADER ${CMAKE_CURRENT_BINARY_DIR}/../include/libaec.h)
# Wrapper for compatibility with szip
add_library(sz OBJECT sz_compat.c)
......@@ -43,7 +43,8 @@ set_target_properties(sz_shared
PROPERTIES
VERSION 2.0.1
SOVERSION 2
OUTPUT_NAME $<IF:$<BOOL:${MSVC}>,szip,sz>)
OUTPUT_NAME $<IF:$<BOOL:${MSVC}>,szip,sz>
PUBLIC_HEADER ../include/szlib.h)
# Simple client for testing and benchmarking.
# Can also be used stand-alone
......
AM_CFLAGS = $(CFLAG_VISIBILITY)
AM_CPPFLAGS = -I$(top_srcdir)/include -DBUILDING_LIBAEC
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include \
-DBUILDING_LIBAEC
lib_LTLIBRARIES = libaec.la libsz.la
libaec_la_SOURCES = encode.c encode_accessors.c decode.c \
encode.h encode_accessors.h decode.h
......
AUTOMAKE_OPTIONS = color-tests
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
TESTS = check_code_options check_buffer_sizes check_long_fs \
szcomp.sh sampledata.sh
TEST_EXTENSIONS = .sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment