conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Revert \"COMP: update find_package for boost\"\n\nThis reverts commit e883243c2f4b728699e45e1930301acb0acbeeb6.\n" }, { "from": "human", "value": "# Required\nmessage(STATUS \"Looking for required Boost headers\")\n\n# Mandatory components\n# - date_time -> ossim pl...
cmake
chosen
[ { "from": "system", "value": "Add org.mitk.gui.qt.ext plugin to whitelist\n" }, { "from": "human", "value": "set(enabled_modules\n Core\n CppMicroServices\n DICOM\n DICOMPM\n DataTypesExt\n AlgorithmsExt\n DICOMQI\n Multilabel\n SceneSerializationBase\n DICOMPMIO\n DICOMImageIO\n Con...
cmake
chosen
[ { "from": "system", "value": "BUG: Update SCIOFIO to ITKv4.13 branch\n\nThis patch includes updates to support multiple downloads locations\nwhich are replacing gerrit.\n\nChange-Id: I708a7a94397a41b1e222927cd4c51ea7a3e1903f\n" }, { "from": "human", "value": "itk_fetch_module(SCIFIO\n \"SCIFIO ...
cmake
chosen
[ { "from": "system", "value": "Update device side FW with updated mdk\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\") \n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SIDE_COMMIT \"61ac21aa03a833ba...
cmake
chosen
[ { "from": "system", "value": "Fix building tests without E2EE\n" }, { "from": "human", "value": "include(CMakeFindDependencyMacro)\n\nfind_dependency(QtOlm)\ninclude(\"${CMAKE_CURRENT_LIST_DIR}/QuotientTargets.cmake\")\n" }, { "from": "gpt", "value": "include(CMakeFindDependencyMacro...
cmake
chosen
[ { "from": "system", "value": "Update FW: configurable FPS for OV7251: max 99 for 480p, 117 for 400p\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_S...
cmake
chosen
[ { "from": "system", "value": "Update FW: fix still capture with scaling, add FPS capping (with warnings)\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEV...
cmake
chosen
[ { "from": "system", "value": "Update FW, bugfix for config_h2d handling after initial setup\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\") \n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SIDE_CO...
cmake
chosen
[ { "from": "system", "value": "Update FW with memory optimizations\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SIDE_COMMIT \"d66b4da7255c5b436b489...
cmake
chosen
[ { "from": "system", "value": "COMP: Set superbuild ITK BUILD_SHARED_LIBS OFF.\n\nThe tests had a hard time finding the libraries on Windows.\n" }, { "from": "human", "value": "#---------------------------------------------------------------------------\n# Get and build itk\n\nif( NOT ITK_TAG )\n...
cmake
chosen
[ { "from": "system", "value": "Fix trouble with execute process command arguments\n" }, { "from": "human", "value": "# This CMake script may be used\n# with a command line like\n# cmake -DWDIR:PATH=<workdir_path> -DODIR:PATH=<output_path> -P CreatePatchCVS.cmake\n#\n# The script will\n# 1) find...
cmake
chosen
[ { "from": "system", "value": "Add debug info for cmake\n" }, { "from": "human", "value": "include(\"${CMAKE_CURRENT_LIST_DIR}/VIZTargets.cmake\")\n\nfind_path(VIZ_INCLUDE_DIR \"viz\" HINTS \"${CMAKE_CURRENT_LIST_DIR}/../include/\" )\nfind_library(VIZ_LIBRARY NAMES VIZ HINTS \"${CMAKE_CURRENT_LIS...
cmake
chosen
[ { "from": "system", "value": "COMP: Fix VariationalRegistration for future const GetMacro support\n\nMinor const adherance needed for compiling with\nfuture removal of deprecated interfaces.\n\nChange-Id: Ie266a0e5a65705b6364cd80f7f244eb18d65a74c\n" }, { "from": "human", "value": "# Insight Jour...
cmake
chosen
[ { "from": "system", "value": "Update release version to 2.0.2\n" }, { "from": "human", "value": "#\n# ONLY MODIFY TO CHANGE VERSION\n#\n# The number of commits since last this file has changed is used to\n# define \"dev\" and \"post\", modification of this file will reset that\n# version.\n#\n\n...
cmake
chosen
[ { "from": "system", "value": "Add some documentation to the cmake find module\n" }, { "from": "human", "value": "include(FindPackageHandleStandardArgs)\n\nset(paths\n /usr\n /usr/local\n)\n\nfind_path(VISIONARAY_INCLUDE_DIR\n NAMES\n scheduler.h # TODO: sure?\n PATHS\n ...
cmake
chosen
[ { "from": "system", "value": "Make Bii generate dynamic library\n" }, { "from": "human", "value": "IF(APPLE)\n SET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++\")\nELSEIF (WIN32 OR UNIX)\n SET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -std=c++11\")\nENDIF(APPLE)\n\nADD_BII_TARGETS...
cmake
chosen
[ { "from": "system", "value": "Include version suffix in lua executable search\n" }, { "from": "human", "value": "#.rst:\n# FindLuaInterp\n# --------\n#\n# Find Lua Interpreter\n#\n# ::\n#\n# LUA_EXECUTABLE - the full path to lua\n# LUA_EXECUTABLE_FOUND - If false, don't attempt ...
cmake
chosen
[ { "from": "system", "value": "Fix for building from a chroot where the host may be e.g. 64 bit and the target\nis 32 bit, we can't use CMAKE_SYSTEM_PROCESSOR and need to ask the compiler.\n" }, { "from": "human", "value": "#########################################################################...
cmake
chosen
[ { "from": "system", "value": "FIRE-13896: Use correct library on 64-bit Linux.\n" }, { "from": "human", "value": "# -*- cmake -*-\n\ninclude(Prebuilt)\n\nset(JSONCPP_FIND_QUIETLY ON)\nset(JSONCPP_FIND_REQUIRED ON)\n\nif (STANDALONE)\n include(FindJsonCpp)\nelse (STANDALONE)\n use_prebuilt_bina...
cmake
chosen
[ { "from": "system", "value": "Fix: Boost filesystem v3 are supported starting 1.44 only\n\n\n\ngit-svn-id: 1af002208e930b4d920e7c2b948d1e98a012c795@161 a9d63959-f2ad-4865-b262-bf0e56cfafb6\n" }, { "from": "human", "value": "# Find and set Boost flags\n\nif(NOT PCL_SHARED_LIBS)\n set(Boost_USE...
cmake
chosen
[ { "from": "system", "value": "ENH: Update ITK CMake version for 5.1.2\n" }, { "from": "human", "value": "# ITK version number components.\nset(ITK_VERSION_MAJOR \"5\")\nset(ITK_VERSION_MINOR \"1\")\nset(ITK_VERSION_PATCH \"1\")\n" }, { "from": "gpt", "value": "# ITK version number co...
cmake
chosen
[ { "from": "system", "value": "compiler/xcc: Remove -Werror flag unknown to XCC\n\nXCC (based on GCC 4.2) doesn't recognize -Wvla (for variable-length\narray), so remove it from \"warning_error_misra_sane\" property.\n\nSigned-off-by: Ederson de Souza <1da3dd06fbb9d545ec21e96bca6ffa5cba52ede5@intel.com>\n" ...
cmake
chosen
[ { "from": "system", "value": "CMake: Hide Google Test variables by default.\n" }, { "from": "human", "value": "configure_file(${CMAKE_CURRENT_LIST_DIR}/GoogleTest-CMakeLists.txt.in\n ${CMAKE_BINARY_DIR}/googletest-download/CMakeLists.txt)\nexecute_process(COMMAND ${CMAKE_COMMAND} -...
cmake
chosen
[ { "from": "system", "value": "Fix for DEV-41797 - \"LL_QUICKTIME_ENABLED is often unset on Windows builds\"\n" }, { "from": "human", "value": "# -*- cmake -*-\n\nif(INSTALL_PROPRIETARY)\n include(Prebuilt)\n use_prebuilt_binary(quicktime)\nendif(INSTALL_PROPRIETARY)\n\nif (DARWIN)\n include(C...
cmake
chosen
[ { "from": "system", "value": "Update FW, fix for custom alinment subpixel interpolation\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SIDE_COMMIT \...
cmake
chosen
[ { "from": "system", "value": "Revert \"Change naming of packaged tarballs to match tag naming scheme - this should fix deployment to CVMFS\"\n\nThis reverts commit 96b2e4f603a3ae854d636f5d00adfd7781bc948d.\n" }, { "from": "human", "value": "# Packaging configuration\nSET(CPACK_PACKAGE_NAME \"all...
cmake
chosen
[ { "from": "system", "value": "Set CMP0072 to NEW to prefer GLVND over legacy OpenGL modules\n" }, { "from": "human", "value": "# Try to Find OpenGL and GLUT silently\n# In addition sets two flags if the found versions are Apple frameworks\n# OPENGL_IS_A_FRAMEWORK\n# GLUT_IS_A_FRAMEWORK\n\nfind_p...
cmake
chosen
[ { "from": "system", "value": "Correct usage of install(DIRECTORY ... PATTERN) which matches at end of file name\n" }, { "from": "human", "value": "# Thrust manages its own copy of these rules. Update ThrustInstallRules.cmake\n# if modifying this file.\nif (CUB_IN_THRUST)\n return()\nendif()\n\n...
cmake
chosen
[ { "from": "system", "value": "COMP: Update git tag to incorporate MGHIO origin fix\n\nChange-Id: Id60b0bcc4fca43c7e0e743e76989dde29b472c6f\n" }, { "from": "human", "value": "itk_fetch_module(MGHIO\n \"MGHIO ImageIO plugin for ITK\"\n GIT_REPOSITORY https://github.com/Slicer/itkMGHImageIO.git\n...
cmake
chosen
[ { "from": "system", "value": "Switch to version 0.6.0: socket-based liboro\n" }, { "from": "human", "value": "\n# This file is the official location of the current liboro version number.\n# Please do not add extra numerals in this file or change its formatting.\n\nSET(CPACK_PACKAGE_VERSION_MAJOR...
cmake
chosen
[ { "from": "system", "value": "Allow serveral target libraries as last argument.\nUnfortunately only one testcase sources file is allowed for now...\n\n\ngit-svn-id: e31799a7ad59d6ea355ca047c69e0aee8a59fcd3@2714 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e\n" }, { "from": "human", "value": "ENABLE_TESTIN...
cmake
chosen
[ { "from": "system", "value": "ENH: Rename module to follow Remote Module convention.\n\nChange-Id: I4900b7c6cd2edf63016e530937fb964f47782c87\n" }, { "from": "human", "value": "set( DOCUMENTATION \"This module builds all the examples found at http://itk.org/ITKExamples\" )\n\nitk_module(ITKExampl...
cmake
chosen
[ { "from": "system", "value": "Add KPATH_SEPARATOR from kdelbs 4.1\n\nsvn path=/trunk/KDE/kdepim/; revision=809795\n" }, { "from": "human", "value": "/* Define to 1 if you have a recent enough libassuan */\n#cmakedefine HAVE_USABLE_ASSUAN 1\n\n/* Define to 1 if your libassuan has the assuan_fd_t ...
cmake
chosen
[ { "from": "system", "value": "Fix version detection for out-of-source builds\n" }, { "from": "human", "value": "find_package(Git)\nif(GIT_EXECUTABLE)\n execute_process(\n COMMAND ${GIT_EXECUTABLE} describe --match \"v[0-9]*.[0-9]*.[0-9]*\" --always --tags --dirty\n OUTPUT_VARIABLE PROJECT...
cmake
chosen
[ { "from": "system", "value": "Revert \"IMP-594: Impala binaries are embedding build-time locations of libraries\"\n\nThis reverts commit 748659845303b9a23ee36fc50f81aee0f1082cb9.\n" }, { "from": "human", "value": "# In order to statically link in the Boost, bz2, event and z libraries, they\n# ne...
cmake
chosen
[ { "from": "system", "value": "BUG: Address Shared Library issues with SCIFIO\n\nUpdates the SCIFIO remote module with the following:\ncaab429 ENH: Add library specific export specifier.\n2744aaf BUG: Incorrect target link libraries specified as dependency\n83de482 BUG: Fix bugs with CR removal in SCIFIOImag...
cmake
chosen
[ { "from": "system", "value": "Enable dynamic memory allocation directly in littlefs1" }, { "from": "human", "value": "#\n# file: littlefs1-sources.cmake\n#\n# author: Copyright (C) 2018-2019 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info\n#\n# This Source Code Form is sub...
cmake
chosen
[ { "from": "system", "value": "Set correct path for Leap Motion static link library on Windows\n" }, { "from": "human", "value": "# -*- cmake -*-\n\ninclude(Linking)\n\nif (INSTALL_PROPRIETARY)\n set(LEAPMOTION ON CACHE BOOL \"Building with Leap Motion Controller support.\")\nendif (INSTALL_PROP...
cmake
chosen
[ { "from": "system", "value": "Add march flag to gcc x86 to enable SSE\n" }, { "from": "human", "value": "# Copyright (c) 2013, Ruslan Baratov\n# All rights reserved.\n\nif(DEFINED POLLY_FLAGS_C_CXX_X86_CMAKE)\n return()\nelse()\n set(POLLY_FLAGS_C_CXX_X86_CMAKE 1)\nendif()\n\ninclude(polly_add...
cmake
chosen
[ { "from": "system", "value": "Fix for windows + develop.py: Use pscp on windows instead of scp.\n\nThis also requires a putty session to be created, same as we do for svn.\n" }, { "from": "human", "value": "# -*- cmake -*-\n#\n# Find the OpenSSH scp (\"secure copy\") or Putty pscp command.\n#\n...
cmake
chosen
[ { "from": "system", "value": "Fix ASIO setup for Jenkins (again)\n" }, { "from": "human", "value": "set(LABEL_EXPR \"$ENV{label_exp}\")\nif (\"${LABEL_EXPR}\" MATCHES \"gcc\")\n message(STATUS \"Set CXX to g++ based on label_expr content\")\n set(CMAKE_C_COMPILER \"gcc\" CACHE PATH \"c++ compi...
cmake
chosen
[ { "from": "system", "value": "Fix default temporal/spatial filter values when subpixel is enabled\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SID...
cmake
chosen
[ { "from": "system", "value": "cmake: Drop reports via https only.\n\nSigned-off-by: Andreas Schneider <5be00ddc76278cf6077f5047ca3384a88460c671@cryptomilk.org>\n" }, { "from": "human", "value": "set(UPDATE_TYPE \"true\")\n\nset(CTEST_PROJECT_NAME \"libssh\")\nset(CTEST_NIGHTLY_START_TIME \"01:00...
cmake
chosen
[ { "from": "system", "value": "Add checks of math.h and float.h\n" }, { "from": "human", "value": "MACRO (MYPACKAGECHECKCOMMONINCLUDEFILES)\n INCLUDE (CheckIncludeFile)\n CHECK_INCLUDE_FILE (\"stdio.h\" HAVE_STDIO_H)\n CHECK_INCLUDE_FILE (\"stddef.h\" HAVE_STDDEF_H)\n CHECK_INCLU...
cmake
chosen
[ { "from": "system", "value": "cmake: Use FindPackageHandleStandardArgs module for WinDbg.\n" }, { "from": "human", "value": "# - This module looks for Microsoft Debugging Tools for Windows SDK\n# It defines:\n# WINDBG_DIR : full path to Windbg root dir\n#\n\ninclude (FindPackageM...
cmake
chosen
[ { "from": "system", "value": "Remove \"Copyright\" from the copyright string.\n\n\t* build-aux/cmake/modules/ProjectInfo.cmake: Here.\n" }, { "from": "human", "value": "# - Set project information variables.\n\ninclude(Tools)\n\nif(NOT PROJECT_INFO_CMAKE)\n set(PROJECT_INFO_CMAKE TRUE)\n\n che...
cmake
chosen
[ { "from": "system", "value": "Add more boost subdirectories to boost download.\n" }, { "from": "human", "value": "\nif (DOWNLOAD_EXTERNALS)\n\n # Configure boost\n # ---------------\n # Note: a script is used to checkout a quasi minimal version\n set(DOWNLOAD_DIR ${EXTERNALS_DIR}/boost)\n\n ...
cmake
chosen
[ { "from": "system", "value": "Fix dependencies between Boost dylibs\n" }, { "from": "human", "value": "message(STATUS \"Make Boost libraries use RPATH\")\n\nfile(GLOB boost_dylibs ./libboost*.dylib)\n\nforeach(boost_dylib ${boost_dylibs})\n get_filename_component(boost_dylib ${boost_dylib} NAME...
cmake
chosen
[ { "from": "system", "value": "cmake: Set the OSX versions for the tarballs correctly\n\nSigned-off-by: Robin Getz <c66e5a86ef9317cf35cecb2ed063996b2100ed4b@analog.com>\n" }, { "from": "human", "value": "# support creating some basic binpkgs via `make package`\n\nset(CPACK_SET_DESTDIR ON)\nset(CP...
cmake
chosen
[ { "from": "system", "value": "Add /usr/lib64 for search path\n" }, { "from": "human", "value": "if( LIBSSH_INCLUDE_DIR AND LIBSSH_LIBRARY )\n\tset( LIBSSH_FIND_QUIETLY true )\nendif( LIBSSH_INCLUDE_DIR AND LIBSSH_LIBRARY )\n\nfind_path( LIBSSH_INCLUDE_DIR libssh/libssh.h )\n\nfind_library( LIBSS...
cmake
chosen
[ { "from": "system", "value": "Fix uninstall with white char inside path\n" }, { "from": "human", "value": "#\n# Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n# \n# Licensed under the Apache License, Version 2.0 (the \"License\").\n# You may not use this file excep...
cmake
chosen
[ { "from": "system", "value": "Remove sdk version from veclib searching path." }, { "from": "human", "value": "# Find the vecLib libraries as part of Accelerate.framework or as standalon framework\n#\n# The following are set after configuration is done:\n# VECLIB_FOUND\n# vecLib_INCLUDE_DIR\n# ...
cmake
chosen
[ { "from": "system", "value": "Update repository test classification SS (deprecated) -> ST\n" }, { "from": "human", "value": "#\n# See documentation in Trilinos preCopyrightTrilinos/ExtraExternalRepositories.cmake\n#\n\n\nSET( DataTransferKit_PACKAGES_AND_DIRS_AND_CLASSIFICATIONS\n DataTransferK...
cmake
chosen
[ { "from": "system", "value": "Fix the KAccounts cmake module\n\nMatches AccountsQt module now\n" }, { "from": "human", "value": "# Try to find the KAccounts UI library\n#\n# Copyright (c) 2011, Dario Freddi <drf@kde.org>\n# Copyright (c) 2014, Martin Klapetek <mklapetek@kde.org>\n#\n# Redistribu...
cmake
chosen
[ { "from": "system", "value": "Send also static libraries to ${PROJECT_BINARY_DIR}/lib\n" }, { "from": "human", "value": "#.rst:\n#\n# Sets binary and library output directories to ${PROJECT_BINARY_DIR}/bin\n# and ${PROJECT_BINARY_DIR}/lib, respectively.\n#\n# Variables modified::\n#\n# CMAKE_R...
cmake
chosen
[ { "from": "system", "value": "Remove Mahalanobis example if HAVE_LAPACK is not available\n" }, { "from": "human", "value": "function(find_meta_examples)\n\tFILE(GLOB_RECURSE META_EXAMPLE_LISTINGS ${CMAKE_SOURCE_DIR}/examples/meta/src/*.sg)\n\t\n\t# temporary hacks to exclude certain meta example...
cmake
chosen
[ { "from": "system", "value": "Install to python prefix by default\n\nRetain old installation behavior when CMAKE_INSTALL_PREFIX is set on the command line\n" }, { "from": "human", "value": "# use pybind11's tools to find python and create python modules\nlist(APPEND CMAKE_MODULE_PATH ${CMAKE_SOU...
cmake
chosen
[ { "from": "system", "value": "Disable Jenkins leak checking for OpenSSL module\n" }, { "from": "human", "value": "set(LABEL_EXPR \"$ENV{label_exp}\")\nif (\"${LABEL_EXPR}\" MATCHES \"gcc\" OR \"${LABEL_EXPR}\" MATCHES \"gcovr\")\n message(STATUS \"Set CXX to g++ based on label_expr content\")\n...
cmake
chosen
[ { "from": "system", "value": "Set executable suffix in CMake\n" }, { "from": "human", "value": "# Copyright (c) 2020 ARM Limited. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n\nfind_program(CCACHE \"ccache\")\nif(CCACHE)\n set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})\n set(CMAK...
cmake
chosen
[ { "from": "system", "value": "Exclude module from being turned on by default\n" }, { "from": "human", "value": "\n# the top-level README is used for describing this module, just\n# re-used it for documentation here\nget_filename_component( MY_CURENT_DIR \"${CMAKE_CURRENT_LIST_FILE}\" PATH)\nfile...
cmake
chosen
[ { "from": "system", "value": "Fix PATH for bench target\n" }, { "from": "human", "value": "# This Source Code Form is subject to the terms of the Mozilla Public\n# License, v. 2.0. If a copy of the MPL was not distributed with this\n# file, You can obtain one at http://mozilla.org/MPL/2.0/.\n\ns...
cmake
chosen
[ { "from": "system", "value": "Test python examples against build\n" }, { "from": "human", "value": "MACRO(GET_PYTHON_ENV)\n\tLIST(APPEND PYTHON_ENV_VARS GDB=\"gdb -x ${CMAKE_SOURCE_DIR}/src/.gdb --args\")\n\tLIST(APPEND PYTHON_ENV_VARS PYTHON=${PYTHON_EXECUTABLE})\n\tLIST(APPEND PYTHON_ENV_VARS ...
cmake
chosen
[ { "from": "system", "value": "Allow boost 1.46 which is available on travis\n" }, { "from": "human", "value": "cmake_minimum_required(VERSION 2.8)\n\nmacro(setup_project NAME)\n set(PROJECT_NAME \"${NAME}\")\n set(PROJECT_INSTALL_NAME \"${NAME}\")\n if(NOT \"${ARGV1}\" STREQUAL \"\")\n ...
cmake
chosen
[ { "from": "system", "value": "BUG: Fix itkFDFImageIOTest link error on windows\n\nUpdate IOFDF remote module. Use correct main signature on test for\nwindows.\n\nChange-Id: I468dbd131f9a79f3dd466172ec1ff4087a2a3ffb\n" }, { "from": "human", "value": "itk_fetch_module(IOFDF\n \"FDFImageIO plugin ...
cmake
chosen
[ { "from": "system", "value": "Enable Jenkins to use the asio tag\n" }, { "from": "human", "value": "set(LABEL_EXPR \"$ENV{label_exp}\")\nif (\"${LABEL_EXPR}\" MATCHES \"gcc\")\n message(STATUS \"Set CXX to g++ based on label_expr content\")\n set(CMAKE_C_COMPILER \"gcc\" CACHE PATH \"c++ compi...
cmake
chosen
[ { "from": "system", "value": "Fix wrong variables marked as advanced\n\nShould mark LIBRARIES and DIRS rather than LIBRARY and DIR\n" }, { "from": "human", "value": "# Try to find Sampgdk3\n#\n# Defined variables:\n# - Sampgdk3_FOUND\n# - Sampgdk3_INCLUDE_DIRS\n# - Sampgdk3_LIBRARIES\n\t\nfind_p...
cmake
chosen
[ { "from": "system", "value": "Enable c++11 for clang release builds\n" }, { "from": "human", "value": "# Set necessary compile and link flags\nif (\"${CMAKE_CXX_COMPILER_ID}\" MATCHES \"GNU\")\n set(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -std=c++11\")\n set(CMAKE_CXX_FLAGS_DEBUG \"${CMAKE_CX...
cmake
chosen
[ { "from": "system", "value": "Remove usage of find_path to locate cub/version.cuh\n\nWhen a consumer of cub uses the CMake `FIND_ROOT_PATH_MODE_INCLUDE`\noption it will cause all find_path searches to only occur under\nthe find root path. Since this normally doesn't include the\nsource files, it means that ...
cmake
chosen
[ { "from": "system", "value": "BUG: Fix MGHIO to fix write failures\n\nMGHIO was not always writing valid images to disk. This problem was\nidentified as part of the BRAINSTools use of MGHIO, and resulted\nin incorrect data results when using .mgz extension instead of\n.nii.gz. The problem was identified as...
cmake
chosen
[ { "from": "system", "value": "Fix build when building complete kdesupport at once\n\n\ngit-svn-id: 7928e23e4d58c5ca14aa7b47c53aeff82ee1dd0c@740189 283d02a7-25f6-0310-bc7c-ecb5cbfe19da\n" }, { "from": "human", "value": "# NOTE: only add something here if it is really needed by all of kdelibs.\n# ...
cmake
chosen
[ { "from": "system", "value": "Make CMake in Linux work correctly.\n" }, { "from": "human", "value": "macro(GroupSources curdir)\n\n if (MSVC)\n\n file(GLOB children RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/${curdir} ${CMAKE_CURRENT_SOURCE_DIR}/${curdir}/*)\n\n foreach(child ${children})\n\n...
cmake
chosen
[ { "from": "system", "value": "Use protobuf .cc files to compile tests\n\n--HG--\nbranch : no_ign_msgs\n" }, { "from": "human", "value": "#################################################\nmacro (ign_build_tests)\n # Build all the tests\n foreach(GTEST_SOURCE_file ${ARGN})\n string(REGEX REP...
cmake
chosen
[ { "from": "system", "value": "Remove pointless cmake_minimum_required(VERSION ...) statement\n" }, { "from": "human", "value": "cmake_minimum_required(VERSION 2.8.6)\n\nfunction(add_plugin name)\n add_library(${name} MODULE ${ARGN})\n\n set_target_properties(${name} PROPERTIES PREFIX \"\")\n\n...
cmake
chosen
[ { "from": "system", "value": "Update FW with resource allocation fix\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SIDE_COMMIT \"e67dee8bba18786b8f...
cmake
chosen
[ { "from": "system", "value": "Add gomp openmp library for cross-compiling windows\n" }, { "from": "human", "value": "SET(CMAKE_CROSSCOMPILING TRUE)\n\n# this one is important\nSET(CMAKE_SYSTEM_NAME Windows)\n#this one not so much\nSET(CMAKE_SYSTEM_VERSION 1)\n\n# specify the cross compiler\nSET(...
cmake
chosen
[ { "from": "system", "value": "Move comments to the lines they're commenting.\n" }, { "from": "human", "value": "# -*- cmake -*-\n\n# Silence warning about overriding findZLIB.cmake with our own copy.\n\nif(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 8 AND ${CMAKE_PATCH_VERSIO...
cmake
chosen
[ { "from": "system", "value": "CMake: Support tinyfiledialogs installations through vcpkg\n" }, { "from": "human", "value": "FetchContent_Declare (\n\ttinyfiledialogs\n\tGIT_REPOSITORY [[https://git.code.sf.net/p/tinyfiledialogs/code]]\n\tGIT_TAG [[e11f94cd7887b101d64f74892d769f0139b5e166]]\n)\n\...
cmake
chosen
[ { "from": "system", "value": "Revert \"toolchain/zephyr: invoke ar with -D for deterministic .a files\"\n\nThis reverts commit b4078c557ddc / zephyrproject-rtos/zephyr#17495\n\nThis revert is needed for two reasons:\n\n1. As reported by Lawrence King at\n https://lists.zephyrproject.org/g/users/message/15...
cmake
chosen
[ { "from": "system", "value": "Use PkgConfig to finde Clipper.\n" }, { "from": "human", "value": "find_path(Clipper_INCLUDE_DIR polyclipping/clipper.hpp)\nfind_library(Clipper_LIBRARIES polyclipping)\n\ninclude(FindPackageHandleStandardArgs)\n\nfind_package_handle_standard_args(Clipper Clipper_IN...
cmake
chosen
[ { "from": "system", "value": "Use PROCESS_ENVIRONMENT as a list not a string\n" }, { "from": "human", "value": "set(_proc_env \"MACOSX_DEPLOYMENT_TARGET 10.9\")\n\n# Horrible hack to force the configure step not to find getentropy and clock_gettime.\n# If we build on a version that has these def...
cmake
chosen
[ { "from": "system", "value": "Remove other instance of string(CONCAT)\n" }, { "from": "human", "value": "# FindPythonConfig\n# ----------------\n#\n# This module locates Python libraries.\n#\n# This code sets the following variables:\n#\n# PYTHONCONFIG_FOUND - have the Python libs been found\n# ...
cmake
chosen
[ { "from": "system", "value": "ENH: Update SCIFIO to lastest commit (01.21.2017)\n\nFrancois Budin (1):\n BUG: Paths to install jars and jre should be absolute\n\nMatt McCormick (1):\n Merge pull request #34 from\n fbudin69500/BUG_Correct_install_bug_introducted_in_1069996bd0dcc6f15a5864a0d61ccba1...
cmake
chosen
[ { "from": "system", "value": "BUG: Fix duplicate variables in Windows\n\nUpdates the scifio-imageio hash to account for a fix from mabruce, removing\nduplicate variable declarations in the Write method on Windows.\n\nChange-Id: Id07006d70822fa689be71bb045033708e1cc7234\n" }, { "from": "human", "...
cmake
chosen
[ { "from": "system", "value": "Fix open source C++ Firestore building with -DFIREBASE_IOS_BUILD_TESTS=OFF.\n\nPiperOrigin-RevId: 316190122\n" }, { "from": "human", "value": "# Copyright 2020 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this...
cmake
chosen
[ { "from": "system", "value": "Remove BOOST_LOG_DYN_LINK definition from tests\n" }, { "from": "human", "value": "macro(package_add_test TESTNAME)\n add_executable(${TESTNAME}.x ${ARGN})\n target_compile_options(${TESTNAME}.x PRIVATE -Wunused-parameter -Wall)\n target_compile_definitions...
cmake
chosen
[ { "from": "system", "value": "Fix debug/release detection in plaform.cmake\n" }, { "from": "human", "value": "set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true)\nset(CMAKE_INSTALL_RPATH \"./\")\n\nset(CPACK_GENERATOR \"DEB\" \"TGZ\")\nset(CPACK_PACKAGE_VENDOR \"osrose\")\nset(CPACK_PACKAGE_VERSION_MAJO...
cmake
chosen
[ { "from": "system", "value": "Add CMOCKA_INCLUDE_DIR for backwards compatibility\n" }, { "from": "human", "value": "# FindCMocka\n# ----------\n# Tries to find CMocka\n#\n# Variables:\n# CMOCKA_ROOT_DIR - Set this variable to the root installation of CMocka\n#\n# Read-Only variables:\n# CMOCKA...
cmake
chosen
[ { "from": "system", "value": "Use RPATH by default for build and install trees\n\nChange-Id: Ic6ce227d54c16cd5eaf4e2482f761dd248cc723e\n" }, { "from": "human", "value": "# Some default installation locations. These should be global, with any project\n# specific locations added to the end. These ...
cmake
chosen
[ { "from": "system", "value": "amigaos: Enable native IPC model by default\n" }, { "from": "human", "value": "set (PLIBSYS_THREAD_MODEL amiga)\nset (PLIBSYS_IPC_MODEL none)\nset (PLIBSYS_TIME_PROFILER_MODEL amiga)\nset (PLIBSYS_DIR_MODEL posix)\nset (PLIBSYS_LIBRARYLOADER_MODEL amiga)\nset (PLIBS...
cmake
chosen
[ { "from": "system", "value": "Make aiur submit js coverage xml\n" }, { "from": "human", "value": "# THIS IS A HACK to work around ctest/cdash's treatment of nightly builds\n# so that we can submit two separate coverage results from the same actual\n# build & test run. It will appear as two disti...
cmake
chosen
[ { "from": "system", "value": "Set warning properties for MSVC properly\n" }, { "from": "human", "value": "macro (apply_strict_compile_options_to_this_directory)\n\tif (CMAKE_CXX_COMPILER_ID MATCHES \"GNU\")\n\t\tset_property(DIRECTORY PROPERTY COMPILE_OPTIONS -Wall -Wextra -Wpedantic -Werror)\n\...
cmake
chosen
[ { "from": "system", "value": "Fix compiler checks to match clang on OS X, which CMake labels AppleClang.\n" }, { "from": "human", "value": "set(CMAKE_CXX_STANDARD 14)\nset(CMAKE_CXX_STANDARD_REQUIRED on)\nset(CMAKE_CXX_EXTENSIONS off)\nadd_compile_options(\"$<$<CONFIG:DEBUG>:-DREALM_DEBUG>\")\na...
cmake
chosen
[ { "from": "system", "value": "Stereo: Add support for extended and subpixel together\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SIDE_COMMIT \"ad...
cmake
chosen
[ { "from": "system", "value": "Update FW: configurable FPS and fix enumeration issues with AR0234\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SIDE...
cmake
chosen
[ { "from": "system", "value": "Disable warning on `std::strerror()` from Visual Studio\n" }, { "from": "human", "value": "macro (apply_strict_compile_options_to_this_directory)\n\tif (CMAKE_CXX_COMPILER_ID MATCHES \"GNU\" OR CMAKE_CXX_COMPILER_ID MATCHES \"Clang\")\n\t\tset_property(DIRECTORY PRO...
cmake
chosen
[ { "from": "system", "value": "Exclude freetype form iOS and andriod\n\nRemove freetype OpenGL2 form the OpenGL2 backend when building\nandroid or iOS.\n\nChange-Id: I6ec244c368eb69b60ea79e3ec3d6a06850d07c60\n" }, { "from": "human", "value": "vtk_module(vtkRenderingFreeTypeOpenGL2\n IMPLEMENTS\n...
cmake
chosen
[ { "from": "system", "value": "fix(core): Include build flag in config\n" }, { "from": "human", "value": "#ifndef _CONFIG_HPP_\n#define _CONFIG_HPP_\n\n#cmakedefine ENABLE_ALSA\n#cmakedefine ENABLE_MPD\n#cmakedefine ENABLE_I3\n\n#define BUILDER_SPACE_TOKEN \"%__\"\n#define ALSA_SOUNDCARD \"@SETTI...
cmake
chosen
[ { "from": "system", "value": "Add Lib: Reformat CMake code\n" }, { "from": "human", "value": "function(add_lib name)\n\tcmake_parse_arguments (ARG\n\t\t\"CPP\" # optional keywords\n\t\t\"\" # one value keywords\n\t\t\"SOURCES;LINK_LIBRARIES;LINK_ELEKTRA\" # multi value keywords\n\t\t${ARGN}\n\t)...
cmake
chosen
[ { "from": "system", "value": "Add call to find_package to load LLVM dependencies\n\nClangConfig requires LLVMConfig, so add find_package call in\nClangConfig so find_package(clang REQUIRED CONFIG) will just work. This\nmakes it easier for cmake based projects to use clang, e.g., tools using\nClangTooling.\...
cmake
chosen
[ { "from": "system", "value": "Fix Ldap include path in cmake find module.\n\nChange-Id: I877475e7f2b4888a712c3aef5bd207e35046afb1\nReviewed-on: http://gerrit.sjc.cloudera.com:8080/3865\nReviewed-by: Nong Li <99a5e5f8f5911755b88e0b536d46aafa102bed41@cloudera.com>\nReviewed-by: Alex Behm <fe1626037acfc2dc542d...
cmake
chosen