We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SVF_INSTALL_INCLUDE_DIR
Hi,
make install copies all include directories to prefix/include without a svf parent directory which is quite non-standard behaviour:
make install
prefix/include
svf
SVF/CMakeLists.txt
Line 26 in 7f6e8ce
This seems to work for me:
CMakeLists.txt:
-set(SVF_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}) +set(SVF_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/svf) -file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include) +file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/svf) -configure_file(${SVF_SOURCE_DIR}/.config.in ${SVF_BINARY_DIR}/include/Util/config.h) +configure_file(${SVF_SOURCE_DIR}/.config.in ${SVF_BINARY_DIR}/include/svf/Util/config.h) - FILES ${SVF_BINARY_DIR}/include/Util/config.h - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Util + FILES ${SVF_BINARY_DIR}/include/svf/Util/config.h + DESTINATION ${SVF_INSTALL_INCLUDE_DIR}/Util
ExtAPI.h:
-#include <Util/config.h> +#include <svf/Util/config.h>
ExtAPI.cpp
-#include "Util/config.h"
The text was updated successfully, but these errors were encountered:
@bjjwwang would this affect SVF’s npm or anything else? If not, we could make this change.
Sorry, something went wrong.
No branches or pull requests
Hi,
make install
copies all include directories toprefix/include
without asvf
parent directory which is quite non-standard behaviour:SVF/CMakeLists.txt
Line 26 in 7f6e8ce
This seems to work for me:
CMakeLists.txt:
ExtAPI.h:
ExtAPI.cpp
The text was updated successfully, but these errors were encountered: