2015-09-01 23:33:24 +03:00
|
|
|
find_program(PROG
|
|
|
|
NAMES testB testA
|
|
|
|
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/A ${CMAKE_CURRENT_SOURCE_DIR}/B
|
|
|
|
NO_DEFAULT_PATH
|
|
|
|
)
|
|
|
|
message(STATUS "PROG='${PROG}'")
|
2015-10-30 00:50:19 +03:00
|
|
|
|
|
|
|
find_program(PROG_ABS
|
|
|
|
NAMES ${CMAKE_CURRENT_SOURCE_DIR}/A/testA
|
|
|
|
NO_DEFAULT_PATH
|
|
|
|
)
|
|
|
|
message(STATUS "PROG_ABS='${PROG_ABS}'")
|