Skip to content

Commit 3b8a0e6

Browse files
committed
drop try compile to see real error outptu
1 parent 5e0e18d commit 3b8a0e6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

CMakeLists.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,6 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
3636
set(CMAKE_CXX_STANDARD_REQUIRED YES)
3737
endif()
3838

39-
# Failing inline try_compile example
40-
try_compile(HAS_BOGUS
41-
"${CMAKE_BINARY_DIR}/try_bogus" # binary dir for the test
42-
SOURCE "int main() { return bogus(); }"
43-
)
44-
45-
if(HAS_BOGUS)
46-
message(STATUS "bogus() exists")
47-
else()
48-
message(STATUS "bogus() not found (expected failure)")
49-
endif()
50-
5139
include("cmake/compat_find.cmake")
5240

5341
find_package(Threads REQUIRED)

0 commit comments

Comments
 (0)