Advertisement
shchuko

CMAKE_libxml++

Mar 29th, 2019
1,427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.27 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.13)
  2. project(projectname)
  3.  
  4. set(CMAKE_CXX_STANDART 11)
  5.  
  6. FIND_PACKAGE(PkgConfig)
  7.  
  8. pkg_search_module(LIBXML libxml++-2.6)
  9. INCLUDE_DIRECTORIES(${LIBXML_INCLUDE_DIRS})
  10. LINK_LIBRARIES(${LIBXML_LDFLAGS})
  11.  
  12. add_executable(projectname main.cpp)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement