CMake: Fix building tests and sample after making target includes private

This commit is contained in:
Maarten Bent
2022-04-10 00:18:11 +02:00
parent f00e7ced27
commit 13a82b3d67
2 changed files with 3 additions and 0 deletions

View File

@@ -836,6 +836,7 @@ function(wx_add name group)
elseif(group STREQUAL Tests)
target_include_directories(${target_name} PRIVATE ${wxSOURCE_DIR}/tests)
target_include_directories(${target_name} PRIVATE ${wxSOURCE_DIR}/3rdparty/catch/include)
target_include_directories(${target_name} PRIVATE ${wxTOOLKIT_INCLUDE_DIRS})
endif()
if(APP_DATA)