fix other platform error
This commit is contained in:
parent
606631354b
commit
c7aa668435
|
@ -27,12 +27,24 @@ target_link_directories(
|
||||||
util
|
util
|
||||||
PUBLIC "${TD_SOURCE_DIR}/contrib/lzma2"
|
PUBLIC "${TD_SOURCE_DIR}/contrib/lzma2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if (TD_LINUX)
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
util
|
util
|
||||||
PUBLIC os common
|
PUBLIC os common
|
||||||
PUBLIC lz4_static fast-lzma2
|
PUBLIC lz4_static fast-lzma2
|
||||||
PUBLIC api cjson geos_c TSZ
|
PUBLIC api cjson geos_c TSZ
|
||||||
|
|
||||||
)
|
)
|
||||||
|
else()
|
||||||
|
target_link_libraries(
|
||||||
|
util
|
||||||
|
PUBLIC os common
|
||||||
|
PUBLIC lz4_static
|
||||||
|
PUBLIC api cjson geos_c TSZ
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(${BUILD_TEST})
|
if(${BUILD_TEST})
|
||||||
ADD_SUBDIRECTORY(test)
|
ADD_SUBDIRECTORY(test)
|
||||||
|
|
Loading…
Reference in New Issue