Skip to content

Commit

Permalink
#1765: do not set compilation flags for header-only libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed May 10, 2022
1 parent fb61234 commit 55b8e6a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,11 @@ install(TARGETS ${FMT_LIBRARY} EXPORT ${VIRTUAL_TRANSPORT_LIBRARY})
set_darma_compiler_flags(${ENG_FORMAT_LIBRARY})
install(TARGETS ${ENG_FORMAT_LIBRARY} EXPORT ${VIRTUAL_TRANSPORT_LIBRARY})

# set_darma_compiler_flags(${JSON_LIBRARY})
install(TARGETS ${JSON_LIBRARY} EXPORT ${VIRTUAL_TRANSPORT_LIBRARY})

set_darma_compiler_flags(${BROTLI_LIBRARY})
install(TARGETS ${BROTLI_LIBRARY} EXPORT ${VIRTUAL_TRANSPORT_LIBRARY})

install(TARGETS ${JSON_LIBRARY} EXPORT ${VIRTUAL_TRANSPORT_LIBRARY})

if (vt_mimalloc_enabled)
set_darma_compiler_flags(${MIMALLOC_LIBRARY})
set(MIMALLOC_LIBRARY_EXPORT ${MIMALLOC_LIBRARY})
Expand Down

0 comments on commit 55b8e6a

Please sign in to comment.