Changeset - r24307:320f029a21c2
[Not reviewed]
master
0 1 0
Dan Villiom Podlaski Christiansen - 4 years ago 2020-06-05 18:26:47
danchr@gmail.com
Fix: remove remainining usages of FALSE in CMake files
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
cmake/FindIconv.cmake
Show inline comments
 
@@ -55,13 +55,13 @@ include(CMakePushCheckState)
 
if(CMAKE_C_COMPILER_LOADED)
 
  include(CheckCSourceCompiles)
 
elseif(CMAKE_CXX_COMPILER_LOADED)
 
  include(CheckCXXSourceCompiles)
 
else()
 
  # If neither C nor CXX are loaded, implicit iconv makes no sense.
 
  set(Iconv_IS_BUILT_IN FALSE)
 
  set(Iconv_IS_BUILT_IN NO)
 
endif()
 

	
 
# iconv can only be provided in libc on a POSIX system.
 
# If any cache variable is already set, we'll skip this test.
 
if(NOT DEFINED Iconv_IS_BUILT_IN)
 
  if(UNIX AND NOT DEFINED Iconv_INCLUDE_DIR AND NOT DEFINED Iconv_LIBRARY)
 
@@ -91,13 +91,13 @@ if(NOT DEFINED Iconv_IS_BUILT_IN)
 
      check_c_source_compiles("${Iconv_IMPLICIT_TEST_CODE}" Iconv_IS_BUILT_IN)
 
    else()
 
      check_cxx_source_compiles("${Iconv_IMPLICIT_TEST_CODE}" Iconv_IS_BUILT_IN)
 
    endif()
 
    cmake_pop_check_state()
 
  else()
 
    set(Iconv_IS_BUILT_IN FALSE)
 
    set(Iconv_IS_BUILT_IN NO)
 
  endif()
 
endif()
 

	
 
if(NOT Iconv_IS_BUILT_IN)
 
  find_path(Iconv_INCLUDE_DIR
 
    NAMES "iconv.h"
0 comments (0 inline, 0 general)