
add_executable(main main.cpp)

# This command attempts to find the library, REQUIRED argument is optional
#find_package(PostgreSQL REQUIRED)

# Add include directories to your target. PRIVATE is useful with multi-target projects - see documentation of target_include_directories for more info
#target_include_directories(main PRIVATE ${PostgreSQL_INCLUDE_DIRS})
target_include_directories(main PRIVATE /home/wmann/software/postgresql/postgresql/src/interfaces/libpq /home/wmann/software/postgresql/postgresql/src/include)

# Add libraries to link your target againts. Again, PRIVATE is important for multi-target projects
#target_link_libraries(main PRIVATE ${PostgreSQL_LIBRARIES})
target_link_libraries(main PRIVATE /home/wmann/software/postgresql/postgresql/src/interfaces/libpq/libpq.so.5)
