Tests should not define TGUI_REMOVE_DEPRECATED_CODE. The define may only be used when the TGUI library was compiled with the same option.
parent
8e897bf235
commit
81e7428e39
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue