Skip to content
Snippets Groups Projects
Commit 9199f470 authored by René Fritze's avatar René Fritze
Browse files

[cmake] fix dependency check target names, closes #177 (again)

parent 614ce29b
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ ENDMACRO( HEADERCHECK )
MACRO( DEPENDENCYCHECK )
ADD_CUSTOM_TARGET( dependenycheck SOURCES ${ARGN} )
FOREACH( HEADER ${ARGN} )
GET_FILENAME_COMPONENT( fn ${HEADER} NAME )
string(REPLACE "/" "_" fn ${HEADER})
SET( TEST_NAME "dependenycheck_${fn}")
TO_LIST_SPACES( MY_CXX_FLAGS TEST_NAME_FLAGS )
SET(XARGS ${TEST_NAME_FLAGS} -DHAVE_CONFIG_H -H -c ${HEADER} -w)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment