Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
use shared lib
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-kan committed Jan 16, 2024
1 parent 0c84f13 commit cb044ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammar/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ target_include_directories(
PRIVATE ${ANTLR4_INCLUDE_DIR} ${ANTLR4_INCLUDE_DIR_sysu_grammar})

target_link_directories(sysu-grammar PUBLIC ${ANTLR4_LIB_DIR})
target_link_libraries(sysu-grammar antlr4_static)
target_link_libraries(sysu-grammar antlr4_shared)

if(${ANTLR_VERSION} VERSION_LESS_EQUAL 4.10.1)
find_package(PkgConfig REQUIRED)
Expand Down

0 comments on commit cb044ed

Please sign in to comment.