X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=dacb972306eb90bc993bc7b318f1abe025b270e4;hp=5f32467b2a855b4a6682d1215214e9803b5e1046;hb=0cf9fb2478628f5b4c5773edd1d6ad1a895ccaec;hpb=23b02a8288bd2dd2fd058b22c15d4ba17f4151c0 diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f32467b..dacb9723 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,9 +19,13 @@ ## cmake_minimum_required(VERSION 2.6) + include(FindPkgConfig) include(GNUInstallDirs) +set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake") +include(cotire) + project(pulseview) #=============================================================================== @@ -236,6 +240,7 @@ add_executable(${PROJECT_NAME} ) target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS}) +cotire(${PROJECT_NAME}) if(WIN32) # Pass -mwindows so that no "DOS box" will open when PulseView is started.