Skip to content

building without cppunit #7

@stawel

Description

@stawel

I'm getting errors when building without cppunit:

xmlbeansxx$ ./cbootstrap
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - 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
-- Found Boost: /usr/lib/libboost_date_time.so;/usr/lib/libboost_filesystem.so;/usr/lib/libboost_iostreams.so;/usr/lib/libboost_prg_exec_monitor.so;/usr/lib/libboost_program_options.so;/usr/lib/libboost_python.so;/usr/lib/libboost_regex.so;/usr/lib/libboost_serialization.so;/usr/lib/libboost_signals.so;/usr/lib/libboost_test_exec_monitor.a;/usr/lib/libboost_thread.so;/usr/lib/libboost_unit_test_framework.so;/usr/lib/libboost_wserialization.so
-- Found XERCES: /usr/lib/libxerces-c.so
-- Found mvn: /usr/bin/mvn
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that libxml-2.0 is not installed (install the package which contains libxml-2.0.pc if you want to support this feature)
-- setting up Xmlbeansxx MACROS.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CPPUNIT_INCLUDE_DIR
used as include directory in directory /home/stawel/aaa/xmlbeansxx
used as include directory in directory /home/stawel/aaa/xmlbeansxx/generator
used as include directory in directory /home/stawel/aaa/xmlbeansxx/src/xmlbeansxx

the problem is in CMakeLists.txt:58
INCLUDE_DIRECTORIES (${XERCES_INCLUDE_DIR} ${CPPUNIT_INCLUDE_DIR})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions