Skip to content

Commit 185b5fd

Browse files
author
Alan W. Irwin
committed
Fix install error for configured qsastimedll.h
In previous commit which introduced configuring this file, forgot to specify the ${CMAKE_CURRENT_BINARY_DIR} location of this configured file for the install command. Tested by: Alan W. Irwin <[email protected]> on Linux (Debian Buster) by building the install target without errors.
1 parent f9142a6 commit 185b5fd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/qsastime/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ set(qsastime_LIB_SRCS
9494
configure_library_build(qsastime "" "${qsastime_LIB_SRCS}" "${MATH_LIB}")
9595
add_dependencies(${LIBRARY_TARGET_PREFIX}qsastime tai-utc.h_built deltaT.h_built)
9696

97-
set(qsastime_INSTALLED_HEADERS
98-
qsastime.h
99-
qsastimedll.h
97+
set(qsastime_LIB_HDRS
98+
${CMAKE_CURRENT_SOURCE_DIR}/qsastime.h
99+
${CMAKE_CURRENT_BINARY_DIR}/qsastimedll.h
100100
)
101101

102-
install(FILES ${qsastime_INSTALLED_HEADERS} DESTINATION ${INCLUDE_DIR})
102+
install(FILES ${qsastime_LIB_HDRS} DESTINATION ${INCLUDE_DIR})
103103

104104
install(TARGETS ${LIBRARY_TARGET_PREFIX}qsastime
105105
EXPORT export_plplot

0 commit comments

Comments
 (0)