Skip to content
Snippets Groups Projects
Commit e2896fa3 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[cmake][bugfix] Fix handling of absolute paths for UFL files

parent 1d21972d
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ function(add_generated_executable) ...@@ -116,7 +116,7 @@ function(add_generated_executable)
if(NOT GEN_UFLFILE) if(NOT GEN_UFLFILE)
message(FATAL_ERROR "Need to specify the UFLFILE parameter for add_generated_executable") message(FATAL_ERROR "Need to specify the UFLFILE parameter for add_generated_executable")
endif() endif()
if(NOT IS_ABSOLUTE GEN_UFLFILE) if(NOT IS_ABSOLUTE ${GEN_UFLFILE})
set(GEN_UFLFILE ${CMAKE_CURRENT_SOURCE_DIR}/${GEN_UFLFILE}) set(GEN_UFLFILE ${CMAKE_CURRENT_SOURCE_DIR}/${GEN_UFLFILE})
endif() endif()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${GEN_INIFILE}) if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${GEN_INIFILE})
......
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