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:
@@ -15,11 +15,11 @@ if(WIN32 OR wxUSE_LIBMSPACK)
|
||||
wx_append_sources(HTML_FILES HTML_MSW)
|
||||
endif()
|
||||
|
||||
wx_add_library(html ${HTML_FILES})
|
||||
wx_add_library(wxhtml ${HTML_FILES})
|
||||
|
||||
if(wxUSE_LIBMSPACK)
|
||||
wx_lib_include_directories(html PRIVATE ${MSPACK_INCLUDE_DIRS})
|
||||
wx_lib_link_libraries(html PRIVATE ${MSPACK_LIBRARIES})
|
||||
wx_lib_include_directories(wxhtml PRIVATE ${MSPACK_INCLUDE_DIRS})
|
||||
wx_lib_link_libraries(wxhtml PRIVATE ${MSPACK_LIBRARIES})
|
||||
endif()
|
||||
|
||||
wx_finalize_lib(html)
|
||||
wx_finalize_lib(wxhtml)
|
||||
|
Reference in New Issue
Block a user