Fix linking with argtable3

CMake interpreted `argtable3` to mean add `-largtable3` rather than to
use the imported argtable3 target. This worked when using the bundled
library, but broke with native libraries.
This commit is contained in:
Terence Noone 2024-03-03 00:44:55 -05:00
parent 8dbb58353b
commit 5634b678f3
No known key found for this signature in database
GPG Key ID: A4A519D956E8DCD5

View File

@ -20,7 +20,7 @@ target_include_directories(blisp PRIVATE
"${CMAKE_SOURCE_DIR}/include") "${CMAKE_SOURCE_DIR}/include")
target_link_libraries(blisp PRIVATE target_link_libraries(blisp PRIVATE
argtable3 argtable3::argtable3
libblisp_static file_parsers) libblisp_static file_parsers)
if (WIN32) if (WIN32)