4959f3413c
Otherwise Matches() ends up doing a comparison of the directories /path/to/dir/subdir/.. and /path/to/dir as strings and not matching where it should.
6 lines
199 B
CMake
6 lines
199 B
CMake
|
|
set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/../subdirtest.cxx"
|
|
PROPERTIES COMPILE_DEFINITIONS SUBDIR_TEST)
|
|
|
|
add_executable(subdirtest "${CMAKE_CURRENT_SOURCE_DIR}/../subdirtest.cxx")
|