[trunk] Fix find_path behavior within cross-compilation execution
This commit is contained in:
parent
a347262468
commit
65503dad73
|
@ -281,9 +281,8 @@ if(BUILD_TESTING)
|
||||||
# They could be found via svn on the OpenJPEG google code project
|
# They could be found via svn on the OpenJPEG google code project
|
||||||
# svn checkout http://openjpeg.googlecode.com/svn/data (about 70 Mo)
|
# svn checkout http://openjpeg.googlecode.com/svn/data (about 70 Mo)
|
||||||
find_path(OPJ_DATA_ROOT README-OPJ-Data
|
find_path(OPJ_DATA_ROOT README-OPJ-Data
|
||||||
PATHS
|
PATHS $ENV{OPJ_DATA_ROOT} ${CMAKE_SOURCE_DIR}/../data
|
||||||
$ENV{OPJ_DATA_ROOT}
|
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
|
||||||
${CMAKE_SOURCE_DIR}/../data
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add repository where to find tests
|
# Add repository where to find tests
|
||||||
|
|
Loading…
Reference in New Issue