chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
779b12a
)
Change install destination for headers to relative path (#150)
author
Markus Rickert
<rickertm@users.noreply.github.com>
Mon, 25 Sep 2017 07:02:53 +0000
(
00:02
-0700)
committer
Julien Schueller
<schueller@phimeca.com>
Mon, 25 Sep 2017 07:02:53 +0000
(09:02 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 8aa596edb5c3a17cc7b929518b36509f7c54cbfb..d5e86018a4b8aae42d3357a5c74757e74f112ee2 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-201,7
+201,7
@@
if (WITH_CXX)
list (APPEND NLOPT_SOURCES stogo/global.cc stogo/linalg.cc stogo/local.cc stogo/stogo.cc stogo/tools.cc stogo/global.h stogo/linalg.h stogo/local.h stogo/stogo_config.h stogo/stogo.h stogo/tools.h)
endif ()
-install (FILES ${NLOPT_HEADERS} DESTINATION ${INSTALL_INCLUDE_DIR})
+install (FILES ${NLOPT_HEADERS} DESTINATION ${
RELATIVE_
INSTALL_INCLUDE_DIR})
set (nlopt_lib nlopt${NLOPT_SUFFIX})
add_library (${nlopt_lib} ${NLOPT_SOURCES})