Skip to content

Commit

Permalink
style: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
abdes committed Oct 15, 2023
1 parent 80d24bb commit 9327192
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cryptopp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1385,9 +1385,13 @@ target_compile_definitions(
$<INSTALL_INTERFACE:CRYPTOPP_INCLUDE_PREFIX=${CRYPTOPP_INCLUDE_PREFIX}>
)
cmake_path(GET cryptopp_SOURCE_DIR PARENT_PATH CRYPTOPP_PREFIXED_INCLUDE_DIR)
if (cryptopp_SOURCE_DIR STREQUAL CRYPTOPP_PREFIXED_INCLUDE_DIR)
if(cryptopp_SOURCE_DIR STREQUAL CRYPTOPP_PREFIXED_INCLUDE_DIR)
# Work around a CMake bug when built using certain toolchains, where cmake_path returns the same path.
get_filename_component(CRYPTOPP_PREFIXED_INCLUDE_DIR "${cryptopp_SOURCE_DIR}" DIRECTORY)
get_filename_component(
CRYPTOPP_PREFIXED_INCLUDE_DIR
"${cryptopp_SOURCE_DIR}"
DIRECTORY
)
endif()
target_include_directories(
cryptopp
Expand Down

0 comments on commit 9327192

Please sign in to comment.