mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Merge pull request #54 from vrichter/master
Change relative path of configure files in CMakeLists.
This commit is contained in:
commit
27dd8f6b0a
@ -432,11 +432,11 @@ if (NOT TARGET dlib)
|
||||
REGEX "${CMAKE_CURRENT_BINARY_DIR}" EXCLUDE)
|
||||
|
||||
|
||||
configure_file(${CMAKE_SOURCE_DIR}/../dlib/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
configure_file(${PROJECT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
# overwrite config.h with the configured one
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h DESTINATION include/dlib)
|
||||
|
||||
configure_file(${CMAKE_SOURCE_DIR}/../dlib/revision.h.in ${CMAKE_CURRENT_BINARY_DIR}/revision.h)
|
||||
configure_file(${PROJECT_SOURCE_DIR}/revision.h.in ${CMAKE_CURRENT_BINARY_DIR}/revision.h)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/revision.h DESTINATION include/dlib)
|
||||
|
||||
install(FILES "LICENSE.txt" DESTINATION share/doc/dlib)
|
||||
|
Loading…
Reference in New Issue
Block a user