Move forgotten file to core library

Turns out, there was a cpp file for hte core library, so turn the
library into a static library.
This commit is contained in:
Ian McInerney 2023-04-08 00:37:49 +01:00
parent 07d613d0d2
commit a0b5de91f3
3 changed files with 4 additions and 5 deletions

View File

@ -388,7 +388,6 @@ set( COMMON_SRCS
validators.cpp
wildcards_and_files_ext.cpp
drawing_sheet/ds_painter.cpp
wx_stl_compat.cpp
wx_filename.cpp
xnode.cpp
)

View File

@ -5,14 +5,14 @@ if( COMPILER_SUPPORTS_WARNINGS )
endif()
add_library( core INTERFACE
# Just a header library right now
add_library( core STATIC
wx_stl_compat.cpp
)
target_link_libraries( core INTERFACE
target_link_libraries( core PUBLIC
${wxWidgets_LIBRARIES}
)
target_include_directories( core INTERFACE
target_include_directories( core PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)