1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-31 23:26:22 +00:00

Fix for glog 0.7.0

This commit is contained in:
Carles Fernandez 2024-02-25 08:20:56 +01:00
parent 8e5d636132
commit 0a66cca381
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -179,3 +179,8 @@ if(GLOG_FOUND AND NOT TARGET Glog::glog)
INTERFACE_LINK_LIBRARIES "${GLOG_LIBRARIES}"
)
endif()
# Fix for glog 0.7.0
if(EXISTS ${GLOG_INCLUDE_DIRS}/export.h)
target_precompile_headers(Glog::glog INTERFACE ${GLOG_INCLUDE_DIRS}/export.h)
endif()