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:
@@ -10,8 +10,8 @@
|
||||
include(../../source_groups.cmake)
|
||||
|
||||
wx_append_sources(XML_FILES XML)
|
||||
wx_add_library(xml IS_BASE ${XML_FILES})
|
||||
wx_lib_link_libraries(xml PRIVATE ${EXPAT_LIBRARIES})
|
||||
wx_lib_include_directories(xml PRIVATE ${EXPAT_INCLUDE_DIRS})
|
||||
wx_add_library(wxxml IS_BASE ${XML_FILES})
|
||||
wx_lib_link_libraries(wxxml PRIVATE ${EXPAT_LIBRARIES})
|
||||
wx_lib_include_directories(wxxml PRIVATE ${EXPAT_INCLUDE_DIRS})
|
||||
|
||||
wx_finalize_lib(xml)
|
||||
wx_finalize_lib(wxxml)
|
||||
|
Reference in New Issue
Block a user