Skip to content
Snippets Groups Projects
Commit a869aaa1 authored by Armin Co's avatar Armin Co
Browse files

CMake update.

parent ce84829e
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,9 @@ cmake_minimum_required(VERSION 3.2)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE Release)
find_package(PkgConfig REQUIRED)
message("Build type is ${CMAKE_BUILD_TYPE}")
message(" - Build type is set to ${CMAKE_BUILD_TYPE}")
add_subdirectory(
src
......
......@@ -17,8 +17,8 @@ find_package(Threads)
## get all GTKMM dependencies and configuration
pkg_check_modules(GTKMM gtkmm-3.0)
include_directories(${GTKMM_INCLUDE_DIRS})
link_directories(${GTKMM_LIBRARY_DIRS})
include_directories(${GTKMM_INCLUDE_DIRS})
## link all necessary libs to the target
target_link_libraries(qpong.app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment