View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015117CMake(No Category)public2014-08-29 16:402015-03-02 08:57
ReporterGreg Sharp 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionCMake 3.1Fixed in VersionCMake 3.1 
Summary0015117: InstallRequiredSystemLibraries does not install OpenMP library on MSVC
DescriptionPrograms compiled with MSVC which use OpenMP require the vcomp${ver}.dll runtime library. The Module InstallRequiredSystemLibraries.cmake is normally responsible for adding needed libraries (such as C runtime library) to install targets. However, it misses the OpenMP libraries.
Additional InformationA web search reveals many reports of this issue, and various workarounds. For example:

http://www.cmake.org/pipermail/cmake/2012-September/051964.html [^]
http://gmt.soest.hawaii.edu/issues/27 [^]
http://braintrekking.wordpress.com/2013/04/27/dll-hell-how-to-include-microsoft-redistributable-runtime-libraries-in-your-cmakecpack-project/ [^]

TagsNo tags attached.
Attached Filespatch file icon 0001-Proposed-fix-for-0015117.patch [^] (1,749 bytes) 2014-08-29 16:59 [Show Content]

 Relationships

  Notes
(0036693)
Greg Sharp (reporter)
2014-08-29 17:00

Proposed fix attached as patch.
(0036699)
Brad King (manager)
2014-09-02 11:06

Patch applied with minor tweaks, thanks:

InstallRequiredSystemLibraries: Install OpenMP runtime libs
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bdb5007b [^]
(0038104)
Robert Maynard (manager)
2015-03-02 08:57

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2014-08-29 16:40 Greg Sharp New Issue
2014-08-29 16:59 Greg Sharp File Added: 0001-Proposed-fix-for-0015117.patch
2014-08-29 17:00 Greg Sharp Note Added: 0036693
2014-09-02 11:06 Brad King Note Added: 0036699
2014-09-02 11:06 Brad King Assigned To => Brad King
2014-09-02 11:06 Brad King Status new => assigned
2014-09-02 11:06 Brad King Target Version => CMake 3.1
2014-09-04 09:41 Brad King Status assigned => resolved
2014-09-04 09:41 Brad King Resolution open => fixed
2014-09-04 09:41 Brad King Fixed in Version => CMake 3.1
2015-03-02 08:57 Robert Maynard Note Added: 0038104
2015-03-02 08:57 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team