Commit 6af5b7f6853c18a3abac7c8f7bf8091cdf6464d0
1 parent
76588314
Exists in
master
and in
10 other branches
Another bug with cdf dir
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
cmake/modules/FindCDF.cmake
@@ -19,6 +19,6 @@ ELSE(libcdf_INCLUDE_DIR AND libcdf_LIBRARIES) | @@ -19,6 +19,6 @@ ELSE(libcdf_INCLUDE_DIR AND libcdf_LIBRARIES) | ||
19 | message(STATUS "NOT Found libcdf, disabling it") | 19 | message(STATUS "NOT Found libcdf, disabling it") |
20 | ENDIF(libcdf_INCLUDE_DIR AND libcdf_LIBRARIES) | 20 | ENDIF(libcdf_INCLUDE_DIR AND libcdf_LIBRARIES) |
21 | 21 | ||
22 | -get_filename_component(libcdf_LIBRARY_DIR ${libcdf_LIBRARIES} DIRECTORY) | 22 | +get_filename_component(libcdf_LIBRARY_DIR ${libcdf_LIBRARIES} PATH) |
23 | 23 | ||
24 | MARK_AS_ADVANCED(libcdf_INCLUDE_DIR libcdf_LIBRARY_DIR libcdf_LIBRARIES) | 24 | MARK_AS_ADVANCED(libcdf_INCLUDE_DIR libcdf_LIBRARY_DIR libcdf_LIBRARIES) |