cmake_dependent_option(CIFPP_DATA_DIR "Directory where dictionary and other static data is stored" CACHE PATH "${CMAKE_INSTALL_FULL_DATADIR}/libcifpp""BUILD_FOR_CCP4""$ENV{CCP4}/share/libcifpp")
if(BUILD_FOR_CCP4)
option(CIFPP_DATA_DIR "Directory where dictionary and other static data is stored""$ENV{CCP4}/share/libcifpp")
else()
option(CIFPP_DATA_DIR "Directory where dictionary and other static data is stored""${CMAKE_INSTALL_FULL_DATADIR}/libcifpp")