Tue, 28 Jun 2022 19:57:45 +0300
Enable cotire again
CMakeLists.txt | file | annotate | diff | comparison | revisions |
--- a/CMakeLists.txt Tue Jun 28 19:49:45 2022 +0300 +++ b/CMakeLists.txt Tue Jun 28 19:57:45 2022 +0300 @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 3.0) project(LDForge VERSION 1.0) set(COPYRIGHT "Copyright (C) 2013 - 2022 Teemu Piippo") - string(TOLOWER ${PROJECT_NAME} TARGET_NAME) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake") +include(cotire) set(OpenGL_GL_PREFERENCE GLVND) find_package(Qt6 COMPONENTS Core Widgets OpenGL UiPlugin OpenGLWidgets) if (Qt6_FOUND) @@ -172,6 +172,7 @@ target_link_libraries(${TARGET_NAME} PRIVATE Qt6::Core5Compat) target_link_libraries(${TARGET_NAME} PRIVATE Qt6::OpenGLWidgets) endif() +cotire(${TARGET_NAME}) add_custom_target(linelength ALL COMMAND python3