Tests should not define TGUI_REMOVE_DEPRECATED_CODE. The define may only be used when the TGUI library was compiled with the same option.

0.8
Bruno Van de Velde 2019-05-04 15:55:12 +02:00
parent 8e897bf235
commit 81e7428e39
1 changed files with 0 additions and 1 deletions

View File

@ -92,7 +92,6 @@ endif()
add_executable(tests ${TEST_SOURCES})
target_include_directories(tests PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")
target_compile_definitions(tests PRIVATE TGUI_REMOVE_DEPRECATED_CODE)
if(DEFINED SFML_LIBRARIES)
# SFML found via FindSFML.cmake
target_include_directories(tests PRIVATE ${SFML_INCLUDE_DIR})