Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install, on 64 bit, installs cmake files into lib instead of lib64 folder #218

Closed
a4z opened this issue Apr 1, 2019 · 1 comment
Closed

Comments

@a4z
Copy link
Contributor

a4z commented Apr 1, 2019

Description

make install put all doctest*.cmake files into /install/prefix/lib/cmake/doctest,
but on some Linux platforms this should be /install/prefix/lib64/cmake/doctest

Steps to reproduce

on a Linux 64 bit distribution, where libraries files go into /usr/lib64

mkdir build
cd build
cmake -DCMAKE_CXX_FLAGS=-std=c++11 ../
make install DESTDIR=$(pwd)/zinst

The installed files will be

-- Installing: /where/ever/doctest/build/zinst/usr/local/include/doctest/doctest.h
-- Installing: /where/ever/doctest/build/zinst/usr/local/lib/cmake/doctest/doctestConfig.cmake
-- Installing: /where/ever/doctest/build/zinst/usr/local/lib/cmake/doctest/doctestConfigVersion.cmake
-- Installing: /where/ever/doctest/build/zinst/usr/local/lib/cmake/doctest/doctestTargets.cmake

Extra information

  • doctest version: v2.3.1
  • Operating System: RHEL 7.6
  • Compiler+version: gcc 4.8, cmake 3.13
@onqtam
Copy link
Member

onqtam commented Apr 1, 2019

merged the PR

@onqtam onqtam closed this as completed Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants