Fix typo in CMake install script (#683)

Fixes a typo in CMake scripts when installing generated header files.
master
Tobias Ulvgård 2017-11-16 09:16:34 +01:00 committed by Wally B. Feed
parent bdca2095c0
commit b2e948d8a2
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ file(GLOB_RECURSE hdrs "*.h.in")
foreach(HDR ${hdrs})
file(RELATIVE_PATH REL_FIL ${PROJECT_SOURCE_DIR} ${HDR})
get_filename_component(DIR ${REL_FIL} DIRECTORY)
get_filename_component(FIL_WE ${REL_FIL} NAME_WE)
get_filename_component(FILE_WE ${REL_FIL} NAME_WE)
install(
FILES
${PROJECT_BINARY_DIR}/${DIR}/${FILE_WE}