TESTS_WD is prefixed to TESTS_SRC_DIR and should be empty (no idea why
it's like that, maybe to allow relative paths).
TESTS_SRC_DIR must be defined to test source directory and a typo was
preventing that.
endif()
target_include_directories(${_testtarget} PRIVATE
- ${_testrcdir}
+ ${_testsrcdir}
${_testbindir}
${INCLUDE_DIRECTORIES})
target_include_directories(${_testtarget} SYSTEM PRIVATE
target_compile_definitions(${_testtarget} PRIVATE
"-DPACKAGE_DATA_DIR=\"${EFL_TESTS_SOURCE_DIR}\""
- "-DTESTS_SRC_DIR=\"${_testrcdir}\""
+ "-DTESTS_SRC_DIR=\"${_testsrcdir}\""
"-DTESTS_BUILD_DIR=\"${_testbindir}\""
- "-DTESTS_WD=\"${PROJECT_BINARY_DIR}\""
+ "-DTESTS_WD=\"\""
${DEFINITIONS}
)