mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-23 22:56:00 +00:00
Cleanup CMAKE build system
Use target-specific commands for compile flags only
This commit is contained in:
parent
aafc0adfe1
commit
a19ea8b8d6
|
@ -274,4 +274,7 @@ endif (DOXYGEN_FOUND)
|
||||||
|
|
||||||
# lwIP libraries
|
# lwIP libraries
|
||||||
add_library(lwipcore EXCLUDE_FROM_ALL ${lwipnoapps_SRCS})
|
add_library(lwipcore EXCLUDE_FROM_ALL ${lwipnoapps_SRCS})
|
||||||
|
target_compile_options(lwipcore PRIVATE ${LWIP_COMPILER_FLAGS})
|
||||||
|
|
||||||
add_library(lwipallapps EXCLUDE_FROM_ALL ${lwipallapps_SRCS})
|
add_library(lwipallapps EXCLUDE_FROM_ALL ${lwipallapps_SRCS})
|
||||||
|
target_compile_options(lwipallapps PRIVATE ${LWIP_COMPILER_FLAGS})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user