Skip to content

Commit e340e8e

Browse files
committed
CMakeLists.txt: remove obsolete WX_SOURCE support
1 parent e01af96 commit e340e8e

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

build/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,9 @@ set(plot_hdrs
3030
)
3131
list(APPEND ${lib_name}_libsrcs ${plot_hdrs})
3232
#######################################
33-
if(DEFINED WX_SOURCE)
34-
message(STATUS "WX_SOURCE: ${WX_SOURCE}") # passed-in via externpro
35-
endif()
36-
#######################################
3733
add_library(${lib_name} STATIC ${${lib_name}_libsrcs})
3834
target_include_directories(${lib_name} PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
3935
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
40-
PRIVATE
41-
# wxplotctrl plotdraw.cpp needs to include wx/gtk/dcclient.h when building against gtk2
42-
${WX_SOURCE}/include # TODO should be removed when building against gtk2 becomes obsolete
4336
)
4437
target_link_libraries(${lib_name} PUBLIC things)
4538
list(TRANSFORM WXX_OUTPUT_NAME REPLACE "@TARGET@" "${lib_name}")

0 commit comments

Comments
 (0)