Skip to content

Commit 07dc4f8

Browse files
Merge pull request #14 from paolostivanin/fix-baseencode-cmakelists
Fix CMakelists.txt
2 parents ff20878 + 31bfe9b commit 07dc4f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ find_package(PkgConfig REQUIRED)
77
find_package(Gcrypt 1.6.0 REQUIRED)
88
pkg_check_modules(BASEENCODE REQUIRED baseencode>=1.0.5)
99

10-
include_directories(${GCRYPT_INCLUDE_DIR} ${BASEENCODE_INCLUDE_DIR})
10+
include_directories(${GCRYPT_INCLUDE_DIR} ${BASEENCODE_INCLUDE_DIRS})
1111

12-
link_directories(${GCRYPT_LIBRARY_DIRS} ${BASEENCODE_LIBRARY_DIR})
12+
link_directories(${GCRYPT_LIBRARY_DIRS} ${BASEENCODE_LIBRARY_DIRS})
1313

1414
enable_testing()
1515
add_subdirectory(tests)
@@ -30,7 +30,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3")
3030

3131
add_library(cotp SHARED ${SOURCE_FILES})
3232

33-
target_link_libraries(cotp ${GCRYPT_LIBRARIES} ${BASEENCODE_LIBRARY})
33+
target_link_libraries(cotp ${GCRYPT_LIBRARIES} ${BASEENCODE_LIBRARIES})
3434

3535
set_target_properties(cotp PROPERTIES VERSION ${BUILD_VERSION} SOVERSION ${BUILD_MAJOR})
3636

0 commit comments

Comments
 (0)