Added headers to install targets to fix vcpkg usage
Currently vcpkg works by installing the cmake target into its packages directory. The problem is that install only copies the public header at this point so we need to add the others to the install targets.
This commit is contained in:
parent
caf7061423
commit
23a0a2fa0e
|
|
@ -292,6 +292,13 @@ file(COPY "physac.h" DESTINATION ".")
|
|||
file(COPY "raymath.h" DESTINATION ".")
|
||||
file(COPY "raudio.h" DESTINATION ".")
|
||||
|
||||
# Also install them
|
||||
install(FILES "raylib.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||
install(FILES "rlgl.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||
install(FILES "physac.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||
install(FILES "raymath.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||
install(FILES "raudio.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||
|
||||
# Print the flags for the user
|
||||
if (DEFINED CMAKE_BUILD_TYPE)
|
||||
message(STATUS "Generated build type: ${CMAKE_BUILD_TYPE}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user