Skip to content

Commit 8c233a4

Browse files
ilya-fedinjohn-preston
authored andcommitted
CMake: Don't use REQUIRED with find_dependency
It stops the execution of config file by default while with REQUIRED it stops execution of the entire cmake configuration
1 parent c4192e8 commit 8c233a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/tg_owtConfig.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
include(CMakeFindDependencyMacro)
22
if (@absl_FOUND@)
3-
find_dependency(absl REQUIRED)
3+
find_dependency(absl)
44
endif()
55
if (@Crc32c_FOUND@)
6-
find_dependency(Crc32c REQUIRED)
6+
find_dependency(Crc32c)
77
endif()
88

99
include("${CMAKE_CURRENT_LIST_DIR}/tg_owtTargets.cmake")

0 commit comments

Comments
 (0)