[cmake-developers] [CMake 0015534]: find_package(Threads) needs C

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 24 18:28:50 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15534 
====================================================================== 
Reported By:                James Bigler
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15534
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-04-24 18:28 EDT
Last Modified:              2015-04-24 18:28 EDT
====================================================================== 
Summary:                    find_package(Threads) needs C
Description: 
If you specify your project as CXX, and you use find_package(Threads) you will
get a failure, because the test programs use .c files.:



Steps to Reproduce: 
cmake_minimum_required(VERSION 3.2)

project(Test CXX)
find_package(Threads REQUIRED)

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-04-24 18:28 James Bigler   New Issue                                    
======================================================================



More information about the cmake-developers mailing list