Guest User

Untitled

a guest
Sep 16th, 2019
110
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cmake_minimum_required(VERSION 3.2)
  2.  
  3. project(app)
  4.  
  5. add_executable(${PROJECT_NAME} src/main.cpp)
  6.  
  7. list(APPEND CMAKE_FIND_ROOT_PATH "${CMAKE_SOURCE_DIR}/../common/build/install_root")
  8.  
  9. find_package(common REQUIRED CONFIG)
  10.  
  11. target_link_libraries(${PROJECT_NAME} PRIVATE common)
RAW Paste Data