Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.0)
- project(cacConsumer VERSION 0.0.1 LANGUAGES CXX)
- #since I don't use the default cmake path for installation while testing, I have to set the path here
- set(Cacatuidae_DIR "/home/GenusNymphicus/Projects/C++/Cacatuidae3/install/cmake/Cacatuidae")
- #requires CACATUIDAE_DIR in PATH/passed to cmake command or CMAKE_PREFIX_PATH set to CacatuidaeConfig.cmake
- #I only request the Graphics component. Inside my congif I bundle all into the var Cacatuidae_LIBRARIES
- find_package(Cacatuidae REQUIRED COMPONENTS Graphics)
- add_executable(cacConsumer main.cpp)
- target_link_libraries(${PROJECT_NAME} ${Cacatuidae_LIBRARIES})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement