Skip to content

Commit d37a004

Browse files
committed
Fix build on MacOSX
1 parent fc7b913 commit d37a004

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ find_package(Qt5Sql REQUIRED)
1919
if (NOT WIN32)
2020
find_package(PkgConfig REQUIRED)
2121
pkg_check_modules(SQLCIPHER REQUIRED sqlcipher)
22+
if (DEFINED SQLCIPHER_LIBRARY_DIRS)
23+
link_directories(${SQLCIPHER_LIBRARY_DIRS})
24+
message(STATUS "Added ${SQLCIPHER_LIBRARY_DIRS} to link directories...")
25+
endif()
2226
else()
2327
find_package(Libsqlcipher REQUIRED)
2428
endif()

0 commit comments

Comments
 (0)