From a869aaa140ba3fcb30b5873aac260e765d71660c Mon Sep 17 00:00:00 2001 From: Armin Co <armin.co@hs-bochum.de> Date: Sat, 30 Nov 2019 13:39:00 +0100 Subject: [PATCH] CMake update. --- CMakeLists.txt | 3 +-- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10469e9..737b510 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8dc5c99..ed79de7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 -- GitLab