mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +08:00
Fix directory install rules
-- Installing: /Users/runner/work/SFML/SFML/install/./include -- Installing: /Users/runner/work/SFML/SFML/install/./include/SFML becomes -- Installing: /Users/runner/work/SFML/SFML/install/include -- Installing: /Users/runner/work/SFML/SFML/install/include/SFML Likewise for installing lib/
This commit is contained in:
parent
fc0bd0bfc8
commit
5e880a2511
@ -294,14 +294,14 @@ endif()
|
||||
|
||||
# setup the install rules
|
||||
if(NOT SFML_BUILD_FRAMEWORKS)
|
||||
install(DIRECTORY include
|
||||
DESTINATION .
|
||||
install(DIRECTORY include/
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||
COMPONENT devel
|
||||
FILES_MATCHING PATTERN "*.hpp" PATTERN "*.inl")
|
||||
|
||||
if(SFML_GENERATE_PDB)
|
||||
install(DIRECTORY ${PROJECT_BINARY_DIR}/lib
|
||||
DESTINATION .
|
||||
install(DIRECTORY ${PROJECT_BINARY_DIR}/lib/
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
COMPONENT devel
|
||||
FILES_MATCHING PATTERN "*.pdb")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user