Opened 7 years ago

#86 new defect

CMake - change CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR

Reported by: lilleyse Owned by: warmerdam
Priority: normal Milestone:
Component: libgeotiff Version: 1.3.0
Keywords: cmake Cc:

Description

I am building libgeotiff as a CMake subdirectory in my project. When running CMake I get an error that it could not locate the CSV files.

The problem seems to be the use of CMAKE_SOURCE_DIR which should instead be CMAKE_CURRENT_SOURCE_DIR. After fixing these two occurrences CMake runs fine.

Change History (0)

Note: See TracTickets for help on using tickets.