Fix dlopen faild by upgrade cmake (#5481)

* fix dlopen faild

* remove useless code
This commit is contained in:
Zhengguo Yang
2021-03-08 09:02:53 +08:00
committed by GitHub
parent db2120a7f2
commit 43dd583cfc
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ add_executable(palo_be
)
# This permits libraries loaded by dlopen to link to the symbols in the program.
# set_target_properties(palo_be PROPERTIES LINK_FLAGS -pthread)
set_target_properties(palo_be PROPERTIES ENABLE_EXPORTS 1)
target_link_libraries(palo_be
${DORIS_LINK_LIBS}

View File

@ -26,7 +26,7 @@ add_executable(meta_tool
)
# This permits libraries loaded by dlopen to link to the symbols in the program.
# set_target_properties(doris_be PROPERTIES LINK_FLAGS -pthread)
set_target_properties(meta_tool PROPERTIES ENABLE_EXPORTS 1)
target_link_libraries(meta_tool
${DORIS_LINK_LIBS}