CMake: Put include and link commands on one line
Use correct check for LIBICONV.
This commit is contained in:
@@ -31,8 +31,8 @@ wx_add_library(base IS_BASE ${BASE_FILES})
|
||||
if(NOT wxBUILD_MONOLITHIC)
|
||||
wx_lib_compile_definitions(base PRIVATE wxUSE_BASE=1)
|
||||
endif()
|
||||
if(wxUSE_ZLIB)
|
||||
|
||||
if(wxUSE_ZLIB)
|
||||
wx_lib_include_directories(base PRIVATE ${ZLIB_INCLUDE_DIRS})
|
||||
wx_lib_link_libraries(base PRIVATE ${ZLIB_LIBRARIES})
|
||||
endif()
|
||||
@@ -48,7 +48,7 @@ if(UNIX AND wxUSE_SECRETSTORE)
|
||||
wx_lib_include_directories(base PRIVATE ${LIBSECRET_INCLUDE_DIRS})
|
||||
wx_lib_link_libraries(base PRIVATE ${LIBSECRET_LIBRARIES})
|
||||
endif()
|
||||
if(wxUSE_LIBICONV AND ICONV_LIBRARIES)
|
||||
if(wxUSE_LIBICONV AND ICONV_FOUND)
|
||||
wx_lib_include_directories(base PRIVATE ${ICONV_INCLUDE_DIRS})
|
||||
wx_lib_link_libraries(base PRIVATE ${ICONV_LIBRARIES})
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user