Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.28 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement