Skip to content

Fix ndk-compat include directory (Fix #106) - #130

Merged
gchatelet merged 1 commit into
google:masterfrom
Mizux:master
Sep 21, 2020
Merged

gchatelet merged 1 commit into
google:masterfrom
Mizux:master

Conversation

@Mizux

@Mizux Mizux commented Sep 21, 2020 •

Copy link
Copy Markdown
Collaborator

Should fix the issue.

We are using this macro:

macro(setup_include_and_definitions TARGET_NAME)
target_include_directories(${TARGET_NAME}
PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
PRIVATE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include/internal>
)
target_compile_definitions(${TARGET_NAME}
PUBLIC STACK_LINE_READER_BUFFER_SIZE=1024
)
endmacro()

here:
setup_include_and_definitions(ndk_compat)

Unfortunately cpu-features.h is in ndk-compat directory not in root/include directory...'

@Mizux
Mizux requested a review from gchatelet September 21, 2020 11:31
@gchatelet
gchatelet merged commit 91f525c into google:master Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants