CMake: Fix monolithic build
Don't target net and webview libraries directly, but use the wx_ function that will add it to the mono library when applicable.
This commit is contained in:
@@ -32,6 +32,6 @@ if(WIN32)
|
||||
endif()
|
||||
|
||||
if (wxUSE_WEBREQUEST_CURL)
|
||||
target_include_directories(wxnet PRIVATE ${CURL_INCLUDE_DIRS})
|
||||
wx_lib_include_directories(wxnet ${CURL_INCLUDE_DIRS})
|
||||
wx_lib_link_libraries(wxnet PRIVATE ${CURL_LIBRARIES})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user