CMake: use wx prefix in library names
Rename all library targets to start with wx. This way it does not use generic names like base or core that could interfere with other libraries that add include the wxWidgets project.
This commit is contained in:
@@ -21,10 +21,10 @@ if(UNIX AND NOT WIN32)
|
||||
wx_append_sources(NET_FILES NET_UNIX)
|
||||
endif()
|
||||
|
||||
wx_add_library(net IS_BASE ${NET_FILES})
|
||||
wx_add_library(wxnet IS_BASE ${NET_FILES})
|
||||
|
||||
if(WIN32)
|
||||
wx_lib_link_libraries(net PRIVATE ws2_32)
|
||||
wx_lib_link_libraries(wxnet PRIVATE ws2_32)
|
||||
endif()
|
||||
|
||||
wx_finalize_lib(net)
|
||||
wx_finalize_lib(wxnet)
|
||||
|
Reference in New Issue
Block a user