Skip to content

Commit

Permalink
if(EXISTS path) needs a absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Sep 12, 2024
1 parent 7ba4a91 commit d432ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
endif()

# Add additional targets to your CMake project:
if(EXISTS Format.cmake/CMakeLists.txt)
if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/Format.cmake/CMakeLists.txt)
add_subdirectory(Format.cmake)
# check-clang-format check-cmake-format check-format clang-format
# cmake-format fix-clang-format fix-cmake-format fix-format format
Expand Down

0 comments on commit d432ff3

Please sign in to comment.