You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to CMake doc, there should be only one parameter following DESTINATION? When building as a standalone project, ${CMAKE_INSTALL_INCLUDEDIR} is empty so nothing happens. But when I include this project in another one via add_subdirectory with this variable set (also include though), it breaks CMake.
The text was updated successfully, but these errors were encountered:
I am not sure either... A possible solution is to remove ${CMAKE_INSTALL_INCLUDEDIR} or default it to "include" if it's empty like the following. Just make sure it doesn't break your python build (which I am not really familiar).
I was trying to use this library in another pretty large CMake-based project, whose configuration does some wired things to these variables. Simply remove either include or ${CMAKE_INSTALL_INCLUDEDIR} works, although later I encountered some other problems and not using this lib for now. So anyway, feel free to apply these easy fixes or just close this issue as you like ;)
Hi,
hdlConvertor/src/CMakeLists.txt
Line 96 in 56b2da6
According to CMake doc, there should be only one parameter following
DESTINATION
? When building as a standalone project,${CMAKE_INSTALL_INCLUDEDIR}
is empty so nothing happens. But when I include this project in another one viaadd_subdirectory
with this variable set (alsoinclude
though), it breaks CMake.The text was updated successfully, but these errors were encountered: