You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
242 B
9 lines
242 B
9 years ago
|
set(ENV_PATH "$ENV{PATH}")
|
||
|
set(ENV{PATH} ${CMAKE_CURRENT_SOURCE_DIR}/A)
|
||
|
find_program(PROG
|
||
|
NAMES testAandB
|
||
|
HINTS ${CMAKE_CURRENT_SOURCE_DIR}/A ${CMAKE_CURRENT_SOURCE_DIR}/B
|
||
|
)
|
||
|
message(STATUS "PROG='${PROG}'")
|
||
|
set(ENV{PATH} "${ENV_PATH}")
|