cmake_minimum_required (VERSION 3.10) project(3dbase) set(CMAKE_CXX_COMPILER "g++") set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) find_package(PkgConfig REQUIRED) pkg_check_modules(GTK2 REQUIRED gtk+-2.0) message(STATUS "----- GTK2_INCLUDE_DIRS: ${GTK2_INCLUDE_DIRS}") message(STATUS "----- GKT2_LIBRARIES: ${GTK2_LIBRARIES}") message(STATUS "----- GTK2_LINK_LIBRARIES: ${GTK2_LINK_LIBRARIES}") include_directories(${GTK2_INCLUDE_DIRS}) link_directories(${GTK2_LIBRARY_DIRS}) list(APPEND FC_DEP_LIBS ${GTK2_LIBRARIES}) list(APPEND FC_DEP_LIBS freeimage) #add_subdirectory(src/raster) add_subdirectory(src/texture)