changeset 277:750ea0c5fe83

make install fix
author SokoL_SD
date Thu, 01 Oct 2009 11:26:47 +0000
parents 501128ac7a2c
children 5df570e79cfc
files CMakeLists.txt
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Tue Sep 29 12:00:45 2009 +0000
+++ b/CMakeLists.txt	Thu Oct 01 11:26:47 2009 +0000
@@ -394,6 +394,9 @@
 	## Load a package sources list.
 	foreach(d_source ${package}/ArrayOps2 ${d_generated_files})
 	    set(d_sources ${d_sources} ${CMAKE_BINARY_DIR}/qt/${d_source}.d)
+	    if(EXISTS ${CMAKE_BINARY_DIR}/qt/${d_source}_aux.d)
+		set(d_sources ${d_sources} ${CMAKE_BINARY_DIR}/qt/${d_source}_aux.d)
+	    endif(EXISTS ${CMAKE_BINARY_DIR}/qt/${d_source}_aux.d)
 	endforeach(d_source ${d_generated_files})
 	set(classes ArrayOps ${classes})
 	foreach(class ${classes})
@@ -428,7 +431,6 @@
 		set(regexp_str_tmp "(${ver_safe_tmp}/|${cbd_safe_tmp}/|${csd_safe_tmp}/|)(.+)")
 		string(REGEX REPLACE ${regexp_str_tmp} "\\2" ins_path "${path}") 
 		install(FILES ${d_source} DESTINATION include/d/${ins_path} COMPONENT qtd RENAME ${name}.di)
-		install(FILES ${path}/${name}_enum.d DESTINATION include/d/${ins_path} COMPONENT qtd RENAME ${name}_enum.di OPTIONAL)
 	    endforeach(d_source ${d_sources})
 	endif(NOT GENERATE_DI_FILES)