diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 641cf6d..efdce0a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -15,6 +15,7 @@ include_directories( ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/src ${CMAKE_SOURCE_DIR}/src + ${CMAKE_BINARY_DIR}/src/svnqt ) link_directories( diff --git a/src/svnqt/CMakeLists.txt b/src/svnqt/CMakeLists.txt index d8fd1a0..035dd38 100644 --- a/src/svnqt/CMakeLists.txt +++ b/src/svnqt/CMakeLists.txt @@ -45,7 +45,7 @@ SET(SOURCES cache/DatabaseException.cpp ) - IF (SQLITE_FOUND) +# IF (SQLITE_FOUND) MESSAGE(STATUS "Build own sqlite3 database modul") SET(SOURCES ${SOURCES} @@ -54,9 +54,9 @@ SET(SOURCES cache/sqlite3/qsqlcachedresult.h cache/sqlite3/qsql_sqlite3.h ) - ELSE (SQLITE_FOUND) - MESSAGE(SEND_ERROR "The QT3 version requires sqlite3 but could not found") - ENDIF (SQLITE_FOUND) +# ELSE (SQLITE_FOUND) +# MESSAGE(SEND_ERROR "The QT3 version requires sqlite3 but could not found") +# ENDIF (SQLITE_FOUND) SET(CACHEINST_HEADERS cache/LogCache.hpp @@ -148,12 +148,12 @@ SET(ALL_LINKFLAGS "${ALL_LINKFLAGS} ${APU_EXTRA_LIBFLAGS}") SET_TARGET_PROPERTIES(${svnqt-name} PROPERTIES LINK_FLAGS "${ALL_LINKFLAGS} ${LINK_NO_UNDEFINED}") TARGET_LINK_LIBRARIES(${svnqt-name} ${QT_LIBRARIES} ${SUBVERSION_ALL_LIBS}) -IF (SQLITE_FOUND) +# IF (SQLITE_FOUND) TARGET_LINK_LIBRARIES(${svnqt-name} ${SQLITE_LIBRARIES}) INCLUDE_DIRECTORIES(SQLITE_INCLUDE_DIR) -ELSE (SQLITE_FOUND) - TARGET_LINK_LIBRARIES(${svnqt-name} ${QT_QTSQL_LIBRARY}) -ENDIF (SQLITE_FOUND) +# ELSE (SQLITE_FOUND) +# TARGET_LINK_LIBRARIES(${svnqt-name} ${QT_QTSQL_LIBRARY}) +# ENDIF (SQLITE_FOUND) # Just a small linking test IF (BUILD_TESTS)