Skip to content

Commit 7df7427

Browse files
authored
CMake: Avoid CMAKE_FIND_REQUIRED (#766)
1 parent f24b195 commit 7df7427

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

prboom2/cmake/DsdaDependencies.cmake

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
include_guard()
22

33
if(STRICT_FIND)
4-
set(dsda_strict_keyword)
5-
if(CMAKE_VERSION VERSION_GREATER_EQUAL 4.1)
6-
set(CMAKE_FIND_REQUIRED ON)
7-
else()
8-
set(dsda_strict_keyword REQUIRED)
9-
endif()
4+
set(dsda_strict_keyword REQUIRED)
105
endif()
116

127
add_library(dsda_dependencies INTERFACE IMPORTED)

0 commit comments

Comments
 (0)