Skip to content

Commit

Permalink
liberofs: Make the VERSION configuration private
Browse files Browse the repository at this point in the history
Signed-off-by: sekaiacg <[email protected]>
  • Loading branch information
sekaiacg committed Mar 12, 2023
1 parent 6975ef0 commit 17bc7c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build/cmake/lib/liberofs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,8 @@ endif()

add_library(${TARGET} STATIC ${liberofs_srcs})

target_precompile_headers(${TARGET} PUBLIC
"${CMAKE_BINARY_DIR}/erofs-utils-version.h"
"${CMAKE_BINARY_DIR}/liberofs_config.h"
)
target_precompile_headers(${TARGET} PRIVATE "${CMAKE_BINARY_DIR}/erofs-utils-version.h")
target_precompile_headers(${TARGET} PUBLIC "${CMAKE_BINARY_DIR}/liberofs_config.h")

target_include_directories(${TARGET} PRIVATE
${liberofs_headers}
Expand Down

0 comments on commit 17bc7c7

Please sign in to comment.