1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Set definition to PRIVATE

This commit is contained in:
Carles Fernandez 2019-10-09 22:24:29 +02:00
parent 7e823123a2
commit 94bef678af
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ if(ENABLE_AD9361 OR ENABLE_FMCOMMS2 OR ENABLE_PLUTOSDR)
if(LIBAD9361_VERSION) if(LIBAD9361_VERSION)
if(LIBAD9361_VERSION VERSION_GREATER 0.1) if(LIBAD9361_VERSION VERSION_GREATER 0.1)
target_compile_definitions(signal_source_adapters target_compile_definitions(signal_source_adapters
PUBLIC -DLIBAD9361_VERSION_GREATER_THAN_01=1 PRIVATE -DLIBAD9361_VERSION_GREATER_THAN_01=1
) )
endif() endif()
endif() endif()

View File

@ -73,7 +73,7 @@ if(ENABLE_FMCOMMS2 OR ENABLE_AD9361)
if(LIBAD9361_VERSION) if(LIBAD9361_VERSION)
if(LIBAD9361_VERSION VERSION_GREATER 0.1) if(LIBAD9361_VERSION VERSION_GREATER 0.1)
target_compile_definitions(signal_source_libs target_compile_definitions(signal_source_libs
PUBLIC -DLIBAD9361_VERSION_GREATER_THAN_01=1 PRIVATE -DLIBAD9361_VERSION_GREATER_THAN_01=1
) )
endif() endif()
endif() endif()