mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +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
|
# setup the install rules
|
||||||
if(NOT SFML_BUILD_FRAMEWORKS)
|
if(NOT SFML_BUILD_FRAMEWORKS)
|
||||||
install(DIRECTORY include
|
install(DIRECTORY include/
|
||||||
DESTINATION .
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||||
COMPONENT devel
|
COMPONENT devel
|
||||||
FILES_MATCHING PATTERN "*.hpp" PATTERN "*.inl")
|
FILES_MATCHING PATTERN "*.hpp" PATTERN "*.inl")
|
||||||
|
|
||||||
if(SFML_GENERATE_PDB)
|
if(SFML_GENERATE_PDB)
|
||||||
install(DIRECTORY ${PROJECT_BINARY_DIR}/lib
|
install(DIRECTORY ${PROJECT_BINARY_DIR}/lib/
|
||||||
DESTINATION .
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
COMPONENT devel
|
COMPONENT devel
|
||||||
FILES_MATCHING PATTERN "*.pdb")
|
FILES_MATCHING PATTERN "*.pdb")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user