pollymc/libraries/rainbow/CMakeLists.txt

15 lines
375 B
CMake
Raw Normal View History

2022-03-19 22:38:28 +05:30
cmake_minimum_required(VERSION 3.9.4)
project(rainbow)
find_package(Qt5Core REQUIRED QUIET)
find_package(Qt5Gui REQUIRED QUIET)
set(RAINBOW_SOURCES
src/rainbow.cpp
)
2022-03-18 14:58:35 +05:30
add_library(Launcher_rainbow STATIC ${RAINBOW_SOURCES})
target_include_directories(Launcher_rainbow PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_link_libraries(Launcher_rainbow Qt5::Core Qt5::Gui)