Skip to content

Commit

Permalink
build: Properly link plcli against libpl
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Feb 6, 2025
1 parent 17adb10 commit 52860ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ set(PLCLI_SOURCES
if (LIBPL_BUILD_CLI_AS_EXECUTABLE)
add_executable(plcli ${PLCLI_SOURCES})
target_compile_definitions(plcli PRIVATE LIBPL_CLI_AS_EXECUTABLE)
target_link_libraries(plcli PRIVATE libpl libpl-gen)
else ()
add_library(plcli OBJECT ${PLCLI_SOURCES})
endif ()
Expand Down

0 comments on commit 52860ff

Please sign in to comment.