coin-or / qpOASES

Open-source C++ implementation of the recently proposed online active set strategy
GNU Lesser General Public License v2.1
376 stars 127 forks source link

cmake: Install ipp headers #34

Closed svigerske closed 4 years ago

svigerske commented 4 years ago

Issue created by migration from Trac.

Original creator: herr-biber

Original creation time: 2015-02-27 10:56:36

Assignee: ferreau

Version: 3.0.1

Using CMake on trunk here.

make install does not install .ipp header files into /include/qpOASES. However, they are needed and also included in the downloadable tarball. Use the following fix to install the .ipp files:

diff a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
`@``@` -119,6 +119,7 `@``@` INSTALL(FILES include/qpOASES.hpp
 INSTALL(DIRECTORY include/qpOASES
   DESTINATION include
   FILES_MATCHING PATTERN "*.hpp"
+  PATTERN "*.ipp"
   PATTERN ".svn" EXCLUDE)

 ############################################################
svigerske commented 4 years ago

Comment by ferreau created at 2015-03-03 14:06:26

Thanks a lot for pointing this out. I have added your fix to revision 121 in trunk; it will become of part of minor release 3.1.1.

svigerske commented 4 years ago

Comment by ferreau created at 2015-03-03 14:06:26

Resolution: fixed

svigerske commented 4 years ago

Comment by ferreau created at 2015-03-03 14:07:22

Changing type from user support to installation issue.