mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
685562c632
Inspired by: https://www.youtube.com/watch?v=6sWec7b0JIc
14 lines
258 B
CMake
14 lines
258 B
CMake
cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
|
|
|
|
project(Sample LANGUAGES CXX)
|
|
|
|
add_executable(Sample
|
|
src/main.cpp
|
|
)
|
|
|
|
if(NOT TARGET Dexode::EventBus)
|
|
find_package(EventBus CONFIG REQUIRED)
|
|
endif()
|
|
|
|
target_link_libraries(Sample PRIVATE Dexode::EventBus)
|