I think the following patch will do the trick. could you try it?
diff --git a/src/sqlite/CMakeLists.txt b/src/sqlite/CMakeLists.txt index daeaf18..10b014c 100644 --- a/src/sqlite/CMakeLists.txt +++ b/src/sqlite/CMakeLists.txt @@ -1,6 +1,8 @@ set(QT_DONT_USE_QTGUI TRUE) include(${QT_USE_FILE})
+find_package(Threads) + set(SQLITE_MIN_VERSION "3007004") set(SQLITE_BLACKLIST "3007007;3007008") set(SQLITE_DOWNLOAD_VERSION "3071100") @@ -86,10 +88,11 @@ add_definitions(-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_E
if(SHARED_SQLITE_LIBRARY) add_library(tagaini_sqlite SHARED ${tagainijisho_sqlite_SRCS} ${tagainijisho_sqlite_MOC_SRCS}) - target_link_libraries(tagaini_sqlite ${QT_LIBRARIES} ${extra_link_flags}) + target_link_libraries(tagaini_sqlite ${QT_LIBRARIES} ${extra_link_flags} ${CMAKE_THREAD_LIBS_INIT}) install(TARGETS tagaini_sqlite BUNDLE DESTINATION . COMPONENT Runtime LIBRARY DESTINATION lib COMPONENT Runtime) else() add_library(tagaini_sqlite STATIC ${tagainijisho_sqlite_SRCS} ${tagainijisho_sqlite_MOC_SRCS}) + target_link_libraries(tagaini_sqlite ${CMAKE_THREAD_LIBS_INIT}) endif() if(NOT EMBED_SQLITE) target_link_libraries(tagaini_sqlite sqlite3)
If it does not work, please attach the full compilation log, with the "VERBOSE=1" environment variable declared so I can see what is exactly called.
Btw, we are not using launchpad anymore - future issues should be reported to https://github.com/Gnurou/tagainijisho/issues
I think the following patch will do the trick. could you try it?
diff --git a/src/sqlite/ CMakeLists. txt b/src/sqlite/ CMakeLists. txt CMakeLists. txt CMakeLists. txt DONT_USE_ QTGUI TRUE) ${QT_USE_ FILE})
index daeaf18..10b014c 100644
--- a/src/sqlite/
+++ b/src/sqlite/
@@ -1,6 +1,8 @@
set(QT_
include(
+find_package( Threads) MIN_VERSION "3007004") BLACKLIST "3007007;3007008") DOWNLOAD_ VERSION "3071100") (-DSQLITE_ ENABLE_ FTS3 -DSQLITE_ ENABLE_ FTS3_PARENTHESI S -DSQLITE_E
+
set(SQLITE_
set(SQLITE_
set(SQLITE_
@@ -86,10 +88,11 @@ add_definitions
if(SHARED_ SQLITE_ LIBRARY)
add_library( tagaini_ sqlite SHARED ${tagainijisho_ sqlite_ SRCS} ${tagainijisho_ sqlite_ MOC_SRCS} ) link_libraries( tagaini_ sqlite ${QT_LIBRARIES} ${extra_ link_flags} ) link_libraries( tagaini_ sqlite ${QT_LIBRARIES} ${extra_link_flags} ${CMAKE_ THREAD_ LIBS_INIT} )
install( TARGETS tagaini_sqlite BUNDLE DESTINATION . COMPONENT Runtime LIBRARY DESTINATION lib COMPONENT Runtime)
add_library( tagaini_ sqlite STATIC ${tagainijisho_ sqlite_ SRCS} ${tagainijisho_ sqlite_ MOC_SRCS} ) link_libraries( tagaini_ sqlite ${CMAKE_ THREAD_ LIBS_INIT} )
target_ link_libraries( tagaini_ sqlite sqlite3)
- target_
+ target_
else()
+ target_
endif()
if(NOT EMBED_SQLITE)
If it does not work, please attach the full compilation log, with the "VERBOSE=1" environment variable declared so I can see what is exactly called.
Btw, we are not using launchpad anymore - future issues should be reported to https:/ /github. com/Gnurou/ tagainijisho/ issues