Skip to content

Commit 668be61

Browse files
committed
Build and link local argtable3 (per paul-chambers#1)
1 parent 1ac8628 commit 668be61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ set( CMAKE_C_FLAGS "-Wall -Wextra" )
66

77
include_directories(.)
88

9+
add_library( argtable3 argtable3.c argtable3.h )
10+
911
add_executable( hashstrings
1012
hashstrings.c hashstrings.h
1113
argtable3.c argtable3.h )
1214

13-
target_link_libraries( hashstrings m config )
15+
target_link_libraries( hashstrings argtable3 m config )
1416

1517
set( CMAKE_INSTALL_PREFIX /usr )
1618
install( TARGETS hashstrings

0 commit comments

Comments
 (0)