Merge pull request #919 from jppelteret/bugfix/gmsh-2
GMsh: Fix binary linking against its own libraries
This commit is contained in:
		| @@ -63,6 +63,8 @@ def install(self, spec, prefix): | |||||||
|         build_directory = join_path(self.stage.path, 'spack-build') |         build_directory = join_path(self.stage.path, 'spack-build') | ||||||
|         source_directory = self.stage.source_path |         source_directory = self.stage.source_path | ||||||
|  |  | ||||||
|  |         options.append('-DCMAKE_INSTALL_NAME_DIR:PATH=%s/lib' % prefix) | ||||||
|  |  | ||||||
|         # Prevent GMsh from using its own strange directory structure on OSX |         # Prevent GMsh from using its own strange directory structure on OSX | ||||||
|         options.append('-DENABLE_OS_SPECIFIC_INSTALL=OFF') |         options.append('-DENABLE_OS_SPECIFIC_INSTALL=OFF') | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Todd Gamblin
					Todd Gamblin