From: Markus Rickert Date: Mon, 25 Sep 2017 07:02:53 +0000 (-0700) Subject: Change install destination for headers to relative path (#150) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=71d5aac4f0648ce5ea43d73c3b6f832cc5ae19d9;p=nlopt.git Change install destination for headers to relative path (#150) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8aa596e..d5e8601 100644 --- 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})