Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HEADERS variable to set public header property of libjapi. PUBLIC… #137

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ set_property(TARGET japi_objs PROPERTY POSITION_INDEPENDENT_CODE ON)
add_library(japi SHARED $<TARGET_OBJECTS:japi_objs>)
add_library(japi-static STATIC $<TARGET_OBJECTS:japi_objs>)

set_target_properties(japi PROPERTIES PUBLIC_HEADER "${PUBLIC_HEADERS}"
set_target_properties(japi PROPERTIES PUBLIC_HEADER "${HEADERS}"
SOVERSION ${SOVERSION})

target_link_libraries(japi PkgConfig::JSONC)
Expand Down