Skip to content

Commit

Permalink
FIX: Add generated file without formatting it
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme committed Jan 3, 2019
1 parent 9241521 commit 1af0859
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Expand Up @@ -188,12 +188,14 @@ set(OTHER_SOURCE_FILES
set(ALL_SOURCE_FILES
${LIB_SOURCE_FILES} ${APP_SOURCE_FILES} ${OTHER_SOURCE_FILES})

set(GENERATED_SOURCE_FILES
src/h3lib/include/version.h)
configure_file(
src/h3lib/include/version.h.in
src/h3lib/include/version.h)

# Build the H3 library
add_library(h3 ${LIB_SOURCE_FILES})
add_library(h3 ${LIB_SOURCE_FILES} ${GENERATED_SOURCE_FILES})

target_compile_options(h3 PRIVATE ${H3_COMPILE_FLAGS})
target_link_libraries(h3 PRIVATE ${H3_LINK_FLAGS})
Expand Down

0 comments on commit 1af0859

Please sign in to comment.