20
20
 
      FILES ${PROJECT_BINARY_DIR}/rest_vol_config.h
21
21
 
      DESTINATION ${REST_VOL_INSTALL_INCLUDE_DIR}
22
22
 
      COMPONENT headers
23
23
 
  )
24
24
 
endif (NOT REST_VOL_INSTALL_NO_DEVELOPMENT)
25
25
 
26
26
 
#-----------------------------------------------------------------------------
27
27
 
# Add Target(s) to CMake Install for import into other projects
28
28
 
#-----------------------------------------------------------------------------
29
29
 
install (
30
 
-
    EXPORT ${REST_VOL_EXPORTED_TARGETS}
 
30
+
    EXPORT ${REST_VOL_INSTALL_TARGET}
31
31
 
    DESTINATION ${REST_VOL_INSTALL_CMAKE_DIR}
32
32
 
    FILE ${REST_VOL_PACKAGE}${REST_VOL_PACKAGE_EXT}-targets.cmake
33
33
 
    COMPONENT configinstall
34
34
 
)
35
35
 
36
36
 
#-----------------------------------------------------------------------------
37
37
 
# Export all exported targets to the build tree for use by parent project
38
38
 
#-----------------------------------------------------------------------------
39
39
 
export (
40
40
 
    TARGETS ${REST_VOL_LIBRARIES_TO_EXPORT} ${REST_VOL_LIB_DEPENDENCIES}