Skip to content

CMake Error: install(EXPORT "SQLiteCppConfig" ...) includes target "SQLiteCpp" which requires target "sqlite3" that is not in the export set #123

Open
@SRombauts

Description

@SRombauts

Using CMake 3.5.1 under Ubuntu 16.04 I now get a CMake error about the new "install" step from #118

~/workspace/SQLiteCpp$ ./build.sh 
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMake version: 3.5.1
-- CMAKE_CXX_COMPILER '/usr/bin/c++' 'GNU' '5.4.0'
-- CMAKE_CXX_FLAGS                ''
-- CMAKE_CXX_FLAGS_DEBUG          '-g'
-- Found PythonInterp: /usr/bin/python (found version "2.7.12") 
-- Found Cppcheck: /usr/local/bin/cppcheck Cppcheck 1.78
-- SQLITECPP_RUN_DOXYGEN OFF
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Configuring done
CMake Error: install(EXPORT "SQLiteCppConfig" ...) includes target "SQLiteCpp" which requires target "sqlite3" that is not in the export set.
-- Generating done
-- Build files have been written to: /home/navineo/workspace/SQLiteCpp/build

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions