aboutsummaryrefslogtreecommitdiff
blob: cfbbc1479625dbee5476a63f9738101bfeb0cdba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
find_package(PythonLibs REQUIRED)

include_directories(${PYTHON_INCLUDE_DIRS})
add_definitions(-std=c99)
add_library(c-portage dataconnect.c dict.c flag.c interpreter.c packageproperties.c portagesettings.c stringlist.c tester.c)
install(TARGETS c-portage DESTINATION lib)

option(CppPortage "Enable c++ wrapper for c-portage (uses Qt4)")

if (CppPortage)
    add_subdirectory(Qt)
endif(CppPortage)